Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/30/2011 12:58:31 PM (11 years ago)
Author:
djpaul
Message:

Don't show empty <span> on posts if they have no tags. Fixes #3068, props modemlooper

File:
1 edited

Legend:

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

    r4223 r4313  
    3030                            </div>
    3131
    32                             <p class="postmetadata"><span class="tags"><?php the_tags( __( 'Tags: ', 'buddypress' ), ', ', '<br />'); ?></span> <span class="comments"><?php comments_popup_link( __( 'No Comments &#187;', 'buddypress' ), __( '1 Comment &#187;', 'buddypress' ), __( '% Comments &#187;', 'buddypress' ) ); ?></span></p>
     32                            <p class="postmetadata"><?php the_tags( '<span class="tags">' . __( 'Tags: ', 'buddypress' ), ', ', '</span>' ); ?> <span class="comments"><?php comments_popup_link( __( 'No Comments &#187;', 'buddypress' ), __( '1 Comment &#187;', 'buddypress' ), __( '% Comments &#187;', 'buddypress' ) ); ?></span></p>
    3333                        </div>
    3434
Note: See TracChangeset for help on using the changeset viewer.