Changeset 19687 for trunk/wp-includes/comment-template.php
- Timestamp:
- 01/05/2012 08:50:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment-template.php
r19679 r19687 770 770 * @return bool True if the comments are open 771 771 */ 772 function comments_open( $post_id =NULL) {772 function comments_open( $post_id = null ) { 773 773 774 774 $_post = get_post($post_id); … … 787 787 * @return bool True if pings are accepted 788 788 */ 789 function pings_open( $post_id = NULL) {789 function pings_open( $post_id = null ) { 790 790 791 791 $_post = get_post($post_id); … … 900 900 } 901 901 902 $overridden_cpage = FALSE;902 $overridden_cpage = false; 903 903 if ( '' == get_query_var('cpage') && get_option('page_comments') ) { 904 904 set_query_var( 'cpage', 'newest' == get_option('default_comments_page') ? get_comment_pages_count() : 1 ); 905 $overridden_cpage = TRUE;905 $overridden_cpage = true; 906 906 } 907 907 … … 1192 1192 * @param string $linktoparent Optional. Boolean to control making the author's name a link to their comment. 1193 1193 */ 1194 function comment_form_title( $noreplytext = false, $replytext = false, $linktoparent = TRUE) {1194 function comment_form_title( $noreplytext = false, $replytext = false, $linktoparent = true ) { 1195 1195 global $comment; 1196 1196
Note: See TracChangeset
for help on using the changeset viewer.