Commit e93ad25
committed
use wp_doing_ajax() instead of checking for global constant (#35)
The function is available since WP 4.7, so we could have been using it
since v1.2. It defaults to the same logic but applies an additional
filter internally.1 parent 7beb003 commit e93ad25
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
0 commit comments