Making WordPress.org


Ignore:
Timestamp:
12/16/2016 08:15:04 PM (9 years ago)
Author:
coffee2code
Message:

Support Theme: Number format the counts of total topics and replies in user's profile.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/user-profile.php

    r4288 r4552  
    8484        <p class="bbp-user-topic-count"><?php
    8585            /* translators: %s: number of user's topics */
    86             printf( esc_html__( 'Topics Started: %s', 'wporg-forums' ), bbp_get_user_topic_count_raw() );
     86            printf( esc_html__( 'Topics Started: %s', 'wporg-forums' ), number_format_i18n( bbp_get_user_topic_count_raw() ) );
    8787        ?></p>
    8888
    8989        <p class="bbp-user-reply-count"><?php
    9090            /* translators: %s: number of user's replies */
    91             printf( esc_html__( 'Replies Created: %s', 'wporg-forums' ), bbp_get_user_reply_count_raw() );
     91            printf( esc_html__( 'Replies Created: %s', 'wporg-forums' ), number_format_i18n( bbp_get_user_reply_count_raw() ) );
    9292        ?></p>
    9393    </div>
Note: See TracChangeset for help on using the changeset viewer.