Changeset 13092 for trunk/src/bp-friends/bp-friends-widgets.php
- Timestamp:
- 08/24/2021 04:16:17 AM (5 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-friends/bp-friends-widgets.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-friends/bp-friends-widgets.php
r11381 r13092 4 4 * 5 5 * @package BuddyPress 6 * @subpackage Friends 6 * @subpackage FriendsWidgets 7 7 * @since 1.9.0 8 8 */ … … 28 28 } 29 29 30 add_action( 'widgets_init', function() { register_widget( 'BP_Core_Friends_Widget' ); } ); 30 add_action( 31 'widgets_init', 32 function() { 33 register_widget( 'BP_Core_Friends_Widget' ); 34 } 35 ); 31 36 } 32 37 add_action( 'bp_register_widgets', 'bp_friends_register_widgets' ); … … 87 92 <?php else: ?> 88 93 <?php echo "-1[[SPLIT]]<li>"; ?> 89 <?php _e( 'There were no members found, please try another filter.', 'buddypress' ); ?>94 <?php esc_html_e( 'There were no members found, please try another filter.', 'buddypress' ); ?> 90 95 <?php echo "</li>"; ?> 91 96 <?php endif;
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)