Changeset 15563 for trunk/wp-includes/comment-template.php
- Timestamp:
- 09/04/2010 03:51:04 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment-template.php
r15549 r15563 546 546 */ 547 547 function get_comments_number( $post_id = 0 ) { 548 $post_id = absint( $post_id ); 549 548 550 if ( !$post_id ) 549 551 $post_id = get_the_ID(); 550 551 $post_id = absint($post_id);552 552 553 553 $post = get_post($post_id);
Note: See TracChangeset
for help on using the changeset viewer.