• Resolved Paul

    (@paulschiretz)


    Hi,

    With the last woocommerce version 10.3.3 there are some deprecation warning in the log. I guess the woocommerce script dependencies now need to be prefixed with wc-!

    [25-Oct-2025 10:34:02 UTC] PHP Deprecated:  Function wp_enqueue_script was called with an argument that is <strong>deprecated</strong> since version 10.3.0! Please use the new handle wc-jquery-blockui in place of the previous handle jquery-blockui. in xxx\app\public\wp-includes\functions.php on line 6131
    [25-Oct-2025 10:34:02 UTC] PHP Deprecated: Function wp_enqueue_script was called with an argument that is <strong>deprecated</strong> since version 10.3.0! Please use the new handle wc-jquery-tiptip in place of the previous handle jquery-tiptip. in xxx\app\public\wp-includes\functions.php on line 6131

    Cheers,
    Paul

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @paulschiretz,

    Are you seeing these entries under our log handler (wpo-wcpdf)?

    Thread Starter Paul

    (@paulschiretz)

    Hi @yordansoares,

    I just get them as soon as i visit the wpo settings page, when WP_DEBUG is set to true.
    I looked at your code, the issue is in Assets.php Lines: 71, 133, 134, 140 and in SetupWizard.php Lines: 145, 147, 154, 158.

    If you are using the wocommerce handles for jquery-blockui, select2 and jquery-tiptip they should be prefixed with wc- from now on. It could also be a false positive as you can see here: https://github.com/woocommerce/woocommerce/issues/61616 so i guess there is no straight forward fix for this. Just wanted to make you aware of that!

    Cheers, Paul

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi, @paulschiretz!

    I ran a quick test, and I confirmed what you said. I’ll forward this conversation to the dev team, so they can take a look and fix it as soon as possible 🙂

    Thanks for reporting this! 🙏

    Thread Starter Paul

    (@paulschiretz)

    Hi @yordansoares,

    This issue was resolved in woocommerce 10.3.4:
    Dev – Remove deprecation notices from legacy script handles #61693

    Cheers, Paul

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Thanks for the heads-up, Paul! 🙌

    I’d forwarded this issue to our developers, but it seems that this was already fixed by WooCommerce 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Woocommerce deprecations’ is closed to new replies.