Title: Deprecated function
Last modified: January 14, 2022

---

# Deprecated function

 *  Resolved [bignevola](https://wordpress.org/support/users/bignevola/)
 * (@bignevola)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/deprecated-function-51/)
 * – is_ajax is deprecated since Woocommrce version 6.1.0! Use wp_doing_ajax instead.
   i.
 * Would be nice to fix those deprecated functions.

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

 *  Plugin Support [B C. a11n](https://wordpress.org/support/users/battouly/)
 * (@battouly)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/deprecated-function-51/#post-15255803)
 * Hi [@bignevola](https://wordpress.org/support/users/bignevola/),
 * For now, it’s just a notice, so nothing should be breaking because of it. Updating
   your theme and plugins to their newest versions should fix the error and get 
   rid of that message.
 * Please do your updates on a staging site if you’re unsure how this might affect
   your site, or be sure to back up first.
 * Here’s how to set a staging site:
    – [https://docs.woocommerce.com/document/how-to-test-for-conflicts/](https://docs.woocommerce.com/document/how-to-test-for-conflicts/)
 * Thanks!
 *  [njeffers](https://wordpress.org/support/users/njeffers/)
 * (@njeffers)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/deprecated-function-51/#post-15261501)
 * Hi,
 * I’m getting the same warnings (they can be seen at the top of the admin area 
   when WP_DEBUG is enabled). I believe they were filling my logs on WPEngine as
   well. I have everything updated fully, and this plugin is v 2.7.0 (latest) and
   I can still see the code in the source calling is_ajax(). Is there any estimated
   time on when we’re able to get that swapped? Thanks.
 *  [3 Sons Development](https://wordpress.org/support/users/3sonsdevelopment/)
 * (@3sonsdevelopment)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/deprecated-function-51/#post-15266248)
 * Hey [@njeffers](https://wordpress.org/support/users/njeffers/),
 * They are actively working on a fix but I don’t have an estimated release date
   yet. The best thing to do until it is updated is to disable debug display and
   then regularly clear them out of any debug logging you have.
 * Take care

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

The topic ‘Deprecated function’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-square/assets/icon-256x256.png?rev=3234354)
 * [WooCommerce Square](https://wordpress.org/plugins/woocommerce-square/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-square/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-square/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-square/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-square/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-square/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [3 Sons Development](https://wordpress.org/support/users/3sonsdevelopment/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/deprecated-function-51/#post-15266248)
 * Status: resolved