- Timestamp:
- 04/29/2024 06:50:42 PM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/buddypress/activity/index.php
r13442 r13822 61 61 <?php 62 62 /* translators: %s: number of members */ 63 printf( __( 'All Members %s', 'buddypress' ), '<span>' . bp_get_total_member_count() . '</span>' );63 printf( esc_html__( 'All Members %s', 'buddypress' ), '<span>' . esc_html( bp_get_total_member_count() ) . '</span>' ); 64 64 ?> 65 65 </a> … … 85 85 <?php 86 86 /* translators: %s: number of friends */ 87 printf( esc_html__( 'My Friends %s', 'buddypress' ), '<span>' . bp_get_total_friend_count( bp_loggedin_user_id() ) . '</span>' );87 printf( esc_html__( 'My Friends %s', 'buddypress' ), '<span>' . esc_html( bp_get_total_friend_count( bp_loggedin_user_id() ) ) . '</span>' ); 88 88 ?> 89 89 </a> … … 111 111 <?php 112 112 /* translators: %s: current user groups count */ 113 printf( esc_html__( 'My Groups %s', 'buddypress' ), '<span>' . bp_get_total_group_count_for_user( bp_loggedin_user_id() ) . '</span>' );113 printf( esc_html__( 'My Groups %s', 'buddypress' ), '<span>' . esc_html( bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ) . '</span>' ); 114 114 ?> 115 115 </a> … … 135 135 <?php 136 136 /* translators: %s: number of favorites */ 137 printf( esc_html__( 'My Favorites %s', 'buddypress' ), '<span>' . bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) . '</span>' );137 printf( esc_html__( 'My Favorites %s', 'buddypress' ), '<span>' . esc_html( bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) ) . '</span>' ); 138 138 ?> 139 139 </a> … … 162 162 <?php 163 163 /* translators: %s: new mentions count */ 164 printf( esc_html( _nx( '%s new', '%s new', bp_get_total_mention_count_for_user( bp_loggedin_user_id() ), 'Number of new activity mentions', 'buddypress' ), bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ) );164 printf( esc_html( _nx( '%s new', '%s new', bp_get_total_mention_count_for_user( bp_loggedin_user_id() ), 'Number of new activity mentions', 'buddypress' ), esc_html( bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ) ) ); 165 165 ?> 166 166 </span> … … 205 205 206 206 <li id="activity-filter-select" class="last"> 207 <label for="activity-filter-by"><?php _e( 'Show:', 'buddypress' ); ?></label>207 <label for="activity-filter-by"><?php esc_html_e( 'Show:', 'buddypress' ); ?></label> 208 208 <select id="activity-filter-by"> 209 <option value="-1"><?php _e( '— Everything —', 'buddypress' ); ?></option>209 <option value="-1"><?php esc_html_e( '— Everything —', 'buddypress' ); ?></option> 210 210 211 211 <?php bp_activity_show_filters(); ?>
Note: See TracChangeset
for help on using the changeset viewer.