Support » Plugin: Boxtal Connect - Boxtal, shipping for all. » WP 5.7 FR error : WP_Scripts::localize called incorrectly

  • Just to let you know, running the plugin with WordPress 5.7, we can see the following problem with the Boxtal plugin (noticeable only when debug mode is enabled) :

    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 message was added in version 5.7.0.)
    in […]/functions.php on line 5313

    Environnement : WordPress bedrock 5.7 in french running on php 7.4 (64bit)

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author boxtal


    Hello @duckeater ,

    Many thanks for the warning, we really appreciate! We will look into this asap and see what we can do to fix this! We’ll make sure to write a follow-up reply!

    Boxtal Team

    Plugin Author boxtal


    `Hello again,

    Just a quick follow-up to let you know we’ve looked into it and it seems that this isn’t causing issues at the moment. We’ll keep looking into it for monitoring in case there are any changes!

    Many thanks again for reaching out!
    Boxtal Team

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.