Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit c1ed10c

Browse files
authored
Merge pull request #1382 from crodriguezbrito/main
Fix parameters using wp_register_script function
2 parents cc77707 + 21ff7b0 commit c1ed10c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/Admin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ public static function assets( $hook ) {
244244
}
245245

246246
// These assets are loaded in all wp-admin
247-
\wp_register_script( 'newfold-plugin', null, null, BLUEHOST_PLUGIN_VERSION, true );
247+
\wp_register_script( 'newfold-plugin', false, array(), BLUEHOST_PLUGIN_VERSION, true );
248248
\wp_localize_script(
249249
'newfold-plugin',
250250
'nfdplugin',

0 commit comments

Comments
 (0)