We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f35f3d4 commit 3dc6647Copy full SHA for 3dc6647
inc/autoload/class-filtering-themes.php
@@ -33,10 +33,10 @@ public function __construct() {
33
/**
34
* Enqueue scripts.
35
*
36
- * @param $hook
+ * @param string $hook Hook name.
37
*/
38
public function enqueue_script( $hook ) {
39
- if ( 'themes.php' !== $hook && is_admin()) {
+ if ( 'themes.php' !== $hook && is_admin() ) {
40
return;
41
}
42
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
0 commit comments