Issue with wp_scripts::localize in show-hidecollapse-expand Plugin
-
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::localizefunction in my Query Monitor logs.The errors indicate that the plugin is using
wp_scripts::localizeincorrectly. Specifically, the$l10nparameter is not being passed as an array, which is the expected format.According to the WordPress documentation, the
wp_scripts::localizefunction requires the$l10nparameter to be an array. If arbitrary data needs to be passed to scripts, thewp_add_inline_scriptfunction 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.