Make WordPress Core


Ignore:
Timestamp:
07/23/2022 04:55:18 PM (4 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/revision.php

    r53769 r53770  
    585585 *
    586586 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global `$post`.
    587  * @return null|string The URL for editing revisions on the given post, otherwise null.
     587 * @return string|null The URL for editing revisions on the given post, otherwise null.
    588588 */
    589589function wp_get_post_revisions_url( $post = 0 ) {
Note: See TracChangeset for help on using the changeset viewer.