Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/12/2012 08:09:34 PM (13 years ago)
Author:
johnjamesjacoby
Message:

Add ending semicolons to bp-default where omitted. Fixes #4002.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/comments.php

    r5729 r5737  
    2222
    2323        <h3>
    24             <?php printf( _n( '1 response to %2$s', '%1$s responses to %2$s', $num_comments, 'buddypress' ), number_format_i18n( $num_comments ), '<em>' . get_the_title() . '</em>' ) ?>
     24            <?php printf( _n( '1 response to %2$s', '%1$s responses to %2$s', $num_comments, 'buddypress' ), number_format_i18n( $num_comments ), '<em>' . get_the_title() . '</em>' ); ?>
    2525        </h3>
    2626
    27         <?php do_action( 'bp_before_blog_comment_list' ) ?>
     27        <?php do_action( 'bp_before_blog_comment_list' ); ?>
    2828
    2929        <ol class="commentlist">
    30             <?php wp_list_comments( array( 'callback' => 'bp_dtheme_blog_comments', 'type' => 'comment' ) ) ?>
     30            <?php wp_list_comments( array( 'callback' => 'bp_dtheme_blog_comments', 'type' => 'comment' ) ); ?>
    3131        </ol><!-- .comment-list -->
    3232
    33         <?php do_action( 'bp_after_blog_comment_list' ) ?>
     33        <?php do_action( 'bp_after_blog_comment_list' ); ?>
    3434
    3535        <?php if ( get_option( 'page_comments' ) ) : ?>
    3636            <div class="comment-navigation paged-navigation">
    37                 <?php paginate_comments_links() ?>
     37                <?php paginate_comments_links(); ?>
    3838            </div>
    3939        <?php endif; ?>
     
    4444    <?php if ( pings_open() && !comments_open() && ( is_single() || is_page() ) ) : ?>
    4545        <p class="comments-closed pings-open">
    46             <?php printf( __( 'Comments are closed, but <a href="%1$s" title="Trackback URL for this post">trackbacks</a> and pingbacks are open.', 'buddypress' ), trackback_url( '0' ) ) ?>
     46            <?php printf( __( 'Comments are closed, but <a href="%1$s" title="Trackback URL for this post">trackbacks</a> and pingbacks are open.', 'buddypress' ), trackback_url( '0' ) ); ?>
    4747        </p>
    4848    <?php elseif ( !comments_open() && ( is_single() || is_page() ) ) : ?>
    4949        <p class="comments-closed">
    50             <?php _e( 'Comments are closed.', 'buddypress' ) ?>
     50            <?php _e( 'Comments are closed.', 'buddypress' ); ?>
    5151        </p>
    5252    <?php endif; ?>
     
    5555
    5656<?php if ( comments_open() ) : ?>
    57     <?php comment_form() ?>
     57    <?php comment_form(); ?>
    5858<?php endif; ?>
    5959
    6060<?php if ( !empty( $num_trackbacks ) ) : ?>
    6161    <div id="trackbacks">
    62         <h3><?php printf( _n( '1 trackback', '%d trackbacks', $num_trackbacks, 'buddypress' ), number_format_i18n( $num_trackbacks ) ) ?></h3>
     62        <h3><?php printf( _n( '1 trackback', '%d trackbacks', $num_trackbacks, 'buddypress' ), number_format_i18n( $num_trackbacks ) ); ?></h3>
    6363
    6464        <ul id="trackbacklist">
     
    6767                <?php if ( 'comment' != get_comment_type() ) : ?>
    6868                    <li>
    69                         <h5><?php comment_author_link() ?></h5>
    70                         <em>on <?php comment_date() ?></em>
     69                        <h5><?php comment_author_link(); ?></h5>
     70                        <em>on <?php comment_date(); ?></em>
    7171                    </li>
    7272                <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.