Notice on Updates Screen
-
I haven’t dug too deeply into this issue, but Query Monitor reports the following notice when I’m on the updates screen (
/wp-admin/update-core.php
):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.)
Here’s the stacktrace:
wp-includes/functions.php:5313 WP_Scripts->localize() wp-includes/functions.wp-scripts.php:221 wp_localize_script() wp-content/plugins/plugin-notes-plus/admin/class-plugin-notes-plus-admin.php:118 Plugin_Notes_Plus_Admin->enqueue_scripts() wp-includes/class-wp-hook.php:292 do_action('admin_enqueue_scripts') wp-admin/admin-header.php:102
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Notice on Updates Screen’ is closed to new replies.