Errors appearing in WP 5.7
-
In WordPress 5.7, I now get this error at the top of the page:
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 /app/wp-includes/functions.php on line 5313
I’ve tested to ensure it only appears when the plugin is activated on our site.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Errors appearing in WP 5.7’ is closed to new replies.