Skip to:
Content

bbPress.org

Opened 2 months ago

Last modified 2 months ago

#3394 new defect

Wrong CSS class for "Last Activity" in the user profile

Reported by: peterkueger Owned by:
Milestone: 2.6.6 Priority: low
Severity: minor Version:
Component: Component - Users Keywords:
Cc:

Description

In bbpress/templates/default/bbpress/user-profile.php, line 38 the class for the "Last Activity" is "bbp-user-topic-count". But this is the same class for "Topics Started".

Maybe it would be better to use different classes?

Change History (1)

#1 @netweb
2 months ago

  • Milestone changed from Awaiting Review to 2.6.6

Thanks, introduced in r6592

  • trunk/src/templates/default/bbpress/user-profile.php

     
    3535
    3636                <?php if ( bbp_get_user_last_posted() ) : ?>
    3737
    38                         <p class="bbp-user-topic-count"><?php printf( esc_html__( 'Last Activity: %s',  'bbpress' ), bbp_get_time_since( bbp_get_user_last_posted(), false, true ) ); ?></p>
     38                        <p class="bbp-user-last-posted"><?php printf( esc_html__( 'Last Activity: %s',  'bbpress' ), bbp_get_time_since( bbp_get_user_last_posted(), false, true ) ); ?></p>
    3939
    4040                <?php endif; ?>
    4141

Or

  • trunk/src/templates/default/bbpress/user-profile.php

     
    3535
    3636                <?php if ( bbp_get_user_last_posted() ) : ?>
    3737
    38                         <p class="bbp-user-topic-count"><?php printf( esc_html__( 'Last Activity: %s',  'bbpress' ), bbp_get_time_since( bbp_get_user_last_posted(), false, true ) ); ?></p>
     38                        <p class="bbp-user-last-activity"><?php printf( esc_html__( 'Last Activity: %s',  'bbpress' ), bbp_get_time_since( bbp_get_user_last_posted(), false, true ) ); ?></p>
    3939
    4040                <?php endif; ?>
    4141
Note: See TracTickets for help on using tickets.