WP 5.7 FR error : WP_Scripts::localize called incorrectly
-
Just to let you know, running the plugin with WordPress 5.7, we can see the following problem with the Boxtal plugin (noticeable only when debug mode is enabled) :
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. (This message was added in version 5.7.0.)
in […]/functions.php on line 5313Environnement : WordPress bedrock 5.7 in french running on php 7.4 (64bit)
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘WP 5.7 FR error : WP_Scripts::localize called incorrectly’ is closed to new replies.