From 5e4f6c741323dd10889eef7e5b24663140a5129a Mon Sep 17 00:00:00 2001 From: jonathansadowski Date: Tue, 18 Jan 2022 13:15:32 -0600 Subject: [PATCH] Add `@see` tag to hint at usage of `wp_doing_ajax` --- plugins/woocommerce/includes/wc-conditional-functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/woocommerce/includes/wc-conditional-functions.php b/plugins/woocommerce/includes/wc-conditional-functions.php index 070ec53b686..20383d867bb 100644 --- a/plugins/woocommerce/includes/wc-conditional-functions.php +++ b/plugins/woocommerce/includes/wc-conditional-functions.php @@ -261,6 +261,7 @@ if ( ! function_exists( 'is_ajax' ) ) { /** * Is_ajax - Returns true when the page is loaded via ajax. * + * @see wp_doing_ajax() for an equivalent function provided by WordPress since 4.7.0 * @return bool */ function is_ajax() {