mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
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:
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user