Make WordPress Core


Ignore:
Timestamp:
06/03/2014 04:43:47 AM (12 years ago)
Author:
DrewAPicture
Message:

Ensure $post_id is documented as optional where applicable.

See #28388.

File:
1 edited

Legend:

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

    r28638 r28654  
    642642 * @since 1.5.0
    643643 *
    644  * @param int|WP_Post $post_id Post ID or WP_Post object. Default current post.
     644 * @param int|WP_Post $post_id Optional. Post ID or WP_Post object. Default is global `$post`.
    645645 * @return string The link to the comments.
    646646 */
Note: See TracChangeset for help on using the changeset viewer.