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:
Sergey Biryukov
2022-07-23 16:55:18 +00:00
parent 7e8feefd44
commit e2a45c0d8a
3 changed files with 3 additions and 3 deletions

View File

@@ -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.
*/