WP_Scripts :: localize was called incorrectly.
-
Hello,
The plugin is very cool and works fine, but I had to disable it because after activating m2c storage plugin I get this message:Notice: WP_Scripts :: localize was called incorrectly. The $ l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script () function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.) In /home/customer/public_html/wp-includes/functions.php on line 5313
Regards
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘WP_Scripts :: localize was called incorrectly.’ is closed to new replies.