Skip to content

Commit 4697be8

Browse files
authored
gpasc-draft-groups-by-page.php: Fixed issue where snippet used non-standard function to check for AJAX requests.
1 parent a768abb commit 4697be8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gp-advanced-save-and-continue/gpasc-draft-groups-by-page.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// Set ignore parameters to false if you would like parameters to be included in identifying unique pages.
1212
$ignore_parameters = true;
1313

14-
if ( is_ajax() ) {
14+
if ( wp_doing_ajax() ) {
1515
return $tokens;
1616
}
1717

0 commit comments

Comments
 (0)