mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-02 03:34:33 +00:00
Docs: List the expected type first in a few functions:
* `is_allowed_http_origin()` * `doing_filter()` * `wp_get_post_revisions_url()` Follow-up to [28010], [28889], [30674], [46696], [47060], [48068], [49929], [49963], [52095], [51286], [52111]. See #55646. git-svn-id: https://develop.svn.wordpress.org/trunk@53770 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -363,7 +363,7 @@ function current_filter() {
|
||||
* @see did_action()
|
||||
* @global string[] $wp_current_filter Current filter.
|
||||
*
|
||||
* @param null|string $hook_name Optional. Filter hook to check. Defaults to null,
|
||||
* @param string|null $hook_name Optional. Filter hook to check. Defaults to null,
|
||||
* which checks if any filter is currently being run.
|
||||
* @return bool Whether the filter is currently in the stack.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user