mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +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:
@@ -448,7 +448,7 @@ function get_allowed_http_origins() {
|
||||
*
|
||||
* @since 3.4.0
|
||||
*
|
||||
* @param null|string $origin Origin URL. If not provided, the value of get_http_origin() is used.
|
||||
* @param string|null $origin Origin URL. If not provided, the value of get_http_origin() is used.
|
||||
* @return string Origin URL if allowed, empty string if not.
|
||||
*/
|
||||
function is_allowed_http_origin( $origin = null ) {
|
||||
|
||||
Reference in New Issue
Block a user