• Resolved bloup

    (@bloup)


    Hi, It is related to issue related to deprecated functions

    I have found in Debug.log
    [22-Oct-2017 12:18:51 UTC] PHP Notice: WC_Cart::get_checkout_url is deprecated since version 2.5! Use wc_get_checkout_url instead. in /wp-includes/functions.php on line 3831

    It was related to quick buy at:
    /wp-content/plugins/woocommerce-quick-buy/includes/class-frontend.php line 140 &142 return WC()->cart->get_cart_url();

    I wondered if it should not be replaced by

    return wc_get_checkout_url();

    https://docs.woocommerce.com/wc-apidocs/function-wc_get_checkout_url.html
    I am maybe wrong please check. Thank you for your great work.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Deprecated function call ?’ is closed to new replies.