Ticket #38369: 38369.diff
File 38369.diff, 551 bytes (added by , 8 years ago) |
---|
-
src/wp-includes/comment-template.php
835 835 * @since 1.5.0 836 836 * 837 837 * @param int|WP_Post $post_id Optional. Post ID or WP_Post object. Default is global $post. 838 * @return intThe number of comments a post has.838 * @return string The number of comments a post has. 839 839 */ 840 840 function get_comments_number( $post_id = 0 ) { 841 841 $post = get_post( $post_id );