Commit 6f42a46
committed
Plugins: Clarify documentation for when
If `current_action` or `current_filter` is called outside of an action/filter, then these functions will return false.
Props debarghyabanerjee, mukesh27, peterwilsoncc, SirLouen.
Fixes #63479.
git-svn-id: https://develop.svn.wordpress.org/trunk@60258 602fd350-edb4-49c9-b593-d223f7449a82current_action and current_filter can return false.1 parent 682cfff commit 6f42a46
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
362 | | - | |
| 362 | + | |
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
| |||
632 | 632 | | |
633 | 633 | | |
634 | 634 | | |
635 | | - | |
| 635 | + | |
636 | 636 | | |
637 | 637 | | |
638 | 638 | | |
| |||
0 commit comments