You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes the 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 notice appears as from WordPress 5.7.0
There's a warning about wp_localize_script used in code-prettify.php:46, third parameter should be an array
The text was updated successfully, but these errors were encountered: