Make WordPress Core


Ignore:
Timestamp:
07/23/2022 04:55:18 PM (3 years ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/http.php

    r52838 r53770  
    449449 * @since 3.4.0
    450450 *
    451  * @param null|string $origin Origin URL. If not provided, the value of get_http_origin() is used.
     451 * @param string|null $origin Origin URL. If not provided, the value of get_http_origin() is used.
    452452 * @return string Origin URL if allowed, empty string if not.
    453453 */
Note: See TracChangeset for help on using the changeset viewer.