Legacy enqueue handles trigger deprecation notices
-
Facebook for WooCommerce is using the legacy unprefixed enqueue handles
jquery-blockuiandjquery-tiptip(and possibly others). As of WooCommerce 10.3.3, such legacy handles are triggering deprecation notices along the lines ofPHP Deprecated: Function wp_enqueue_script was called with an argument that is deprecated since version 10.3.0! Please use the new handle wc-jquery-blockui in place of the previous handle jquery-blockui.These unprefixed handles should be replaced with their prefixed counterparts,
wc-jquery-blockuiandwc-jquery-tiptip.Replicated on
WP 6.8.3
WC 10.3.3
Facebook for WooCommerce 3.5.12Sample debug trace (partial):
WC legacy handles enqueued: {"jquery-blockui":"wc-jquery-blockui","jquery-tiptip":"wc-jquery-tiptip"} | screen=plugins | url=/wp/wp-admin/plugins.php | ref
erer=https://website.test/page-1/ | queue_info=[{"old":"jquery-blockui","in_queue":false,"deps_of":["facebook-f
or-woocommerce-modal","facebook-for-woocommerce-plugin-update"]},{"old":"jquery-tiptip","in_queue":false,"deps_of":["facebook-for-woocommerce-plugin-update"]}]
You must be logged in to reply to this topic.