• Resolved smwc

    (@smwc)


    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)
  • Plugin Author Joe Dolson

    (@joedolson)

    Yes, I’m aware of these and they’re on my to do list.

    Thread Starter smwc

    (@smwc)

    Thanks Joe! I know you’re quite busy – just wanted to be sure you’re aware it was happening.

    Plugin Author Joe Dolson

    (@joedolson)

    These should all be resolved in 1.7.7, just released. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Errors appearing in WP 5.7’ is closed to new replies.