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/archive.php

    r4223 r4313  
    3939                            </div>
    4040
    41                             <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>
     41                            <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>
    4242                        </div>
    4343
Note: See TracChangeset for help on using the changeset viewer.