Function WP_Scripts::localize was called incorrectly. The $l10n parameter must b
-
Whenever I use Deduper I get this message:
“Notice: Function 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.”
I have clicked on the link to “Debugging in WordPress” but cannot figure it out. Is there any chance someone could show a step by step method to a beginner like me, of how to fix things so that this message no longer appears?
Iridium
The topic ‘Function WP_Scripts::localize was called incorrectly. The $l10n parameter must b’ is closed to new replies.