Closed coiby closed 4 months ago
According to https://wordpress.org/support/topic/wp-5-7-notice-wp_scriptslocalize-was-called-incorrectly/, there could be one plugin not calling wp_localize_script
with the last parameter as an array. And I can confirm after disabling all plugins, this message will be gone. So this message can be safely ignored and it'll be gone after we turn off WP_DEBUG. Besides, if we keep the plugins up-to-date, this message may be gone even with WP_DEBUG turned on.
have not seen this message in a long time so lets close it
With
define( 'WP_DEBUG', true );
inwp-config.php
, the following message will be shown,