Ensure $post_id is documented as optional where applicable.

See #28388.


git-svn-id: https://develop.svn.wordpress.org/trunk@28654 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes (DrewAPicture)
2014-06-03 04:43:47 +00:00
parent 9bb9177199
commit d068c888f3
6 changed files with 33 additions and 32 deletions
+1 -1
View File
@@ -641,7 +641,7 @@ function get_comment_link( $comment = null, $args = array() ) {
*
* @since 1.5.0
*
* @param int|WP_Post $post_id Post ID or WP_Post object. Default current post.
* @param int|WP_Post $post_id Optional. Post ID or WP_Post object. Default is global `$post`.
* @return string The link to the comments.
*/
function get_comments_link( $post_id = 0 ) {