Make WordPress Core


Ignore:
Timestamp:
01/05/2012 08:50:54 PM (13 years ago)
Author:
ryan
Message:

User lowercase true, false, null instead of uppercase. Props c3mdigital, mfields. fixes #16302

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/comment-template.php

    r19679 r19687  
    770770 * @return bool True if the comments are open
    771771 */
    772 function comments_open( $post_id=NULL ) {
     772function comments_open( $post_id = null ) {
    773773
    774774    $_post = get_post($post_id);
     
    787787 * @return bool True if pings are accepted
    788788 */
    789 function pings_open( $post_id = NULL ) {
     789function pings_open( $post_id = null ) {
    790790
    791791    $_post = get_post($post_id);
     
    900900    }
    901901
    902     $overridden_cpage = FALSE;
     902    $overridden_cpage = false;
    903903    if ( '' == get_query_var('cpage') && get_option('page_comments') ) {
    904904        set_query_var( 'cpage', 'newest' == get_option('default_comments_page') ? get_comment_pages_count() : 1 );
    905         $overridden_cpage = TRUE;
     905        $overridden_cpage = true;
    906906    }
    907907
     
    11921192 * @param string $linktoparent Optional. Boolean to control making the author's name a link to their comment.
    11931193 */
    1194 function comment_form_title( $noreplytext = false, $replytext = false, $linktoparent = TRUE ) {
     1194function comment_form_title( $noreplytext = false, $replytext = false, $linktoparent = true ) {
    11951195    global $comment;
    11961196
Note: See TracChangeset for help on using the changeset viewer.