Skip to content

use wp_doing_ajax() instead of constant checking#42

Merged
stklcode merged 1 commit into
developfrom
refactor/doing_ajax
Sep 10, 2025
Merged

use wp_doing_ajax() instead of constant checking#42
stklcode merged 1 commit into
developfrom
refactor/doing_ajax

Conversation

@stklcode

Copy link
Copy Markdown
Owner

The function is available since WP 4.7, so we could have been using it since v1.5. It defaults to the same logic but applies an additional filter internally.

The function is available since WP 4.7, so we could have been using it
since v1.5. It defaults to the same logic but applies an additional
filter internally.
@stklcode stklcode self-assigned this Sep 10, 2025
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
E Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@stklcode stklcode merged commit 11550f4 into develop Sep 10, 2025
12 of 13 checks passed
@stklcode stklcode deleted the refactor/doing_ajax branch September 10, 2025 14:47
@stklcode stklcode added this to the 1.8.0 milestone Sep 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant