title: Getting notice is wordpress "WP_Scripts::localize was called incorrectly"
body: <p>Complete message:
  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 /home3/dduconne/public_html/wp-includes/functions.php on line 5313</p>
  <p>Appeared just after updating wordpress to 5.7.0</p>