Changeset 12669
- Timestamp:
- 06/16/2020 05:24:41 AM (4 years ago)
- Location:
- branches/6.0/src
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.0/src/bp-blogs/classes/class-bp-blogs-component.php
r12611 r12669 225 225 '<span class="%s">%s</span>', 226 226 esc_attr( $class ), 227 bp_core_number_format( $count )227 esc_html( $count ) 228 228 ) 229 229 ); -
branches/6.0/src/bp-friends/bp-friends-filters.php
r12416 r12669 10 10 // Exit if accessed directly. 11 11 defined( 'ABSPATH' ) || exit; 12 13 // Format numerical output. 14 add_filter( 'friends_get_total_friend_count', 'bp_core_number_format' ); 15 add_filter( 'bp_get_total_friend_count', 'bp_core_number_format' ); 12 16 13 17 /** -
branches/6.0/src/bp-friends/bp-friends-template.php
r12589 r12669 650 650 return apply_filters( 'bp_get_total_friend_count', friends_get_total_friend_count( $user_id ), $user_id ); 651 651 } 652 add_filter( 'bp_get_total_friend_count', 'bp_core_number_format' );653 652 654 653 /** -
branches/6.0/src/bp-friends/classes/class-bp-friends-component.php
r12607 r12669 177 177 '<span class="%s">%s</span>', 178 178 esc_attr( $class ), 179 bp_core_number_format( $count )179 esc_html( $count ) 180 180 ) 181 181 ); -
branches/6.0/src/bp-notifications/bp-notifications-filters.php
r12416 r12669 1 1 <?php 2 2 /** 3 * Filters related to the Activitycomponent.3 * Filters related to the Notifications component. 4 4 * 5 5 * @package BuddyPress … … 7 7 * @since 4.0.0 8 8 */ 9 10 11 // Format numerical output. 12 add_filter( 'bp_notifications_get_total_notification_count', 'bp_core_number_format' ); 9 13 10 14 // Privacy data export. -
branches/6.0/src/bp-notifications/classes/class-bp-notifications-component.php
r12463 r12669 165 165 '<span class="%s">%s</span>', 166 166 esc_attr( $class ), 167 bp_core_number_format( $count )167 esc_html( $count ) 168 168 ) 169 169 ); -
branches/6.0/src/bp-templates/bp-nouveau/includes/blogs/loader.php
r12192 r12669 4 4 * 5 5 * @since 3.0.0 6 * @version 6.1.0 6 7 */ 7 8 … … 89 90 // Add controls into the Blogs sections of the customizer. 90 91 add_filter( 'bp_nouveau_customizer_controls', 'bp_nouveau_blogs_customizer_controls', 11, 1 ); 92 93 // The number formatting is done into the `bp_nouveau_nav_count()` template tag. 94 remove_filter( 'bp_get_total_blog_count_for_user', 'bp_core_number_format' ); 91 95 } 92 96 } -
branches/6.0/src/bp-templates/bp-nouveau/includes/friends/loader.php
r12192 r12669 4 4 * 5 5 * @since 3.0.0 6 * @version 3.0.06 * @version 6.1.0 7 7 */ 8 8 … … 88 88 add_filter( 'bp_button_' . $button, 'bp_nouveau_ajax_button', 10, 5 ); 89 89 } 90 91 // The number formatting is done into the `bp_nouveau_nav_count()` template tag. 92 remove_filter( 'friends_get_total_friend_count', 'bp_core_number_format' ); 93 remove_filter( 'bp_get_total_friend_count', 'bp_core_number_format' ); 90 94 } 91 95 -
branches/6.0/src/bp-templates/bp-nouveau/includes/groups/loader.php
r12634 r12669 4 4 * 5 5 * @since 3.0.0 6 * @version 6. 0.06 * @version 6.1.0 7 7 */ 8 8 … … 134 134 // The number formatting is done into the `bp_nouveau_nav_count()` template tag. 135 135 remove_filter( 'bp_get_total_group_count', 'bp_core_number_format' ); 136 remove_filter( 'bp_get_total_group_count_for_user', 'bp_core_number_format' ); 136 137 } 137 138 -
branches/6.0/src/bp-templates/bp-nouveau/includes/notifications/loader.php
r12082 r12669 4 4 * 5 5 * @since 3.0.0 6 * @version 3.0.06 * @version 6.1.0 7 7 */ 8 8 … … 88 88 add_filter( 'bp_get_the_notification_mark_read_link', 'bp_nouveau_notifications_mark_read_link', 10, 1 ); 89 89 add_filter( 'bp_get_the_notification_delete_link', 'bp_nouveau_notifications_delete_link', 10, 1 ); 90 91 // The number formatting is done into the `bp_nouveau_nav_count()` template tag. 92 remove_filter( 'bp_notifications_get_total_notification_count', 'bp_core_number_format' ); 90 93 } 91 94 }
Note: See TracChangeset
for help on using the changeset viewer.