Skip to content

Commit

Permalink
Merge pull request #1382 from crodriguezbrito/main
Browse files Browse the repository at this point in the history
Fix parameters using wp_register_script function
  • Loading branch information
circlecube authored Oct 31, 2024
2 parents cc77707 + 21ff7b0 commit c1ed10c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public static function assets( $hook ) {
}

// These assets are loaded in all wp-admin
\wp_register_script( 'newfold-plugin', null, null, BLUEHOST_PLUGIN_VERSION, true );
\wp_register_script( 'newfold-plugin', false, array(), BLUEHOST_PLUGIN_VERSION, true );
\wp_localize_script(
'newfold-plugin',
'nfdplugin',
Expand Down

0 comments on commit c1ed10c

Please sign in to comment.