• Dear show-hidecollapse-expand Plugin Developer,

    I hope this email finds you well.

    I am writing to report an issue I encountered while using the show-hidecollapse-expand plugin on my WordPress website. I am seeing errors related to the wp_scripts::localize function in my Query Monitor logs.

    The errors indicate that the plugin is using wp_scripts::localize incorrectly. Specifically, the $l10n parameter is not being passed as an array, which is the expected format.

    According to the WordPress documentation, the wp_scripts::localize function requires the $l10n parameter to be an array. If arbitrary data needs to be passed to scripts, the wp_add_inline_script function should be used instead.

    I am using the latest version of the show-hidecollapse-expand plugin, but the issue persists.

    I would greatly appreciate it if you could investigate this issue and release an update to correct it.

    Thank you for your time and attention to this matter.

    Sincerely,

    Fran

    http://www.latinajadelgourmet.com

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

The topic ‘Issue with wp_scripts::localize in show-hidecollapse-expand Plugin’ is closed to new replies.