WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/03/2014 03:52:46 AM (8 years ago)
Author:
DrewAPicture
Message:

Make sure $post is properly documented as optional where applicable.

See #28388.

File:
1 edited

Legend:

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

    r28571 r28653  
    105105 * @since 0.71
    106106 *
    107  * @param int|WP_Post $post Optional. Post ID or post object.
     107 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global `$post`.
    108108 * @return string
    109109 */
     
    15461546 *
    15471547 * @since 1.0.0
    1548  * @uses apply_filters() Calls 'the_password_form' filter on output.
    1549  * @param int|WP_Post $post Optional. A post ID or post object.
     1548 *
     1549 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global `$post`.
    15501550 * @return string HTML content for password form for password protected post.
    15511551 */
Note: See TracChangeset for help on using the changeset viewer.