diff --git src/bp-core/admin/bp-core-admin-slugs.php src/bp-core/admin/bp-core-admin-slugs.php
index 432b6f409..4701f8f46 100644
|
|
|
function bp_core_admin_slugs_options() { |
| 198 | 198 | <?php |
| 199 | 199 | printf( |
| 200 | 200 | /* translators: %s: the link to the Network settings page */ |
| 201 | | esc_html_x( 'Registration is currently disabled. Before associating a page is allowed, please enable registration by selecting either the "User accounts may be registered" or "Both sites and user accounts can be registered" option on %s.', 'Disabled registration message for multisite config', 'buddypress' ), |
| | 201 | esc_html_x( 'Registration is currently disabled. Before associating a page is allowed, please enable registration by selecting either the "User accounts may be registered" or "Both sites and user accounts can be registered" option on %s.', 'Disabled registration message for multisite config', 'buddypress' ), |
| 202 | 202 | sprintf( |
| 203 | 203 | '<a href="%1$s">%2$s</a>', |
| 204 | 204 | esc_url( network_admin_url( 'settings.php' ) ), |
| … |
… |
function bp_core_admin_slugs_options() { |
| 212 | 212 | <?php |
| 213 | 213 | printf( |
| 214 | 214 | /* translators: %s: the link to the Site general options page */ |
| 215 | | esc_html_x( 'Registration is currently disabled. Before associating a page is allowed, please enable registration by clicking on the "Anyone can register" checkbox on %s.', 'Disabled registration message for regular site config', 'buddypress' ), |
| | 215 | esc_html_x( 'Registration is currently disabled. Before associating a page is allowed, please enable registration by clicking on the "Anyone can register" checkbox on %s.', 'Disabled registration message for regular site config', 'buddypress' ), |
| 216 | 216 | sprintf( |
| 217 | 217 | '<a href="%1$s">%2$s</a>', |
| 218 | 218 | esc_url( admin_url( 'options-general.php' ) ), |
diff --git src/bp-friends/classes/class-bp-core-friends-widget.php src/bp-friends/classes/class-bp-core-friends-widget.php
index bf8fe2fd1..b264b9f80 100644
|
|
|
class BP_Core_Friends_Widget extends WP_Widget { |
| 25 | 25 | */ |
| 26 | 26 | function __construct() { |
| 27 | 27 | $widget_ops = array( |
| 28 | | 'description' => __( 'A dynamic list of recently active, popular, and newest Friends of the displayed member. Widget is only shown when viewing a member profile.', 'buddypress' ), |
| | 28 | 'description' => __( 'A dynamic list of recently active, popular, and newest Friends of the displayed member. Widget is only shown when viewing a member profile.', 'buddypress' ), |
| 29 | 29 | 'classname' => 'widget_bp_core_friends_widget buddypress widget', |
| 30 | 30 | 'customize_selective_refresh' => true, |
| 31 | 31 | 'show_instance_in_rest' => true, |
diff --git src/bp-groups/bp-groups-functions.php src/bp-groups/bp-groups-functions.php
index 712155d5e..9ecddaad7 100644
|
|
|
function groups_accept_membership_request( $membership_id, $user_id = 0, $group_ |
| 2117 | 2117 | function groups_reject_membership_request( $membership_id, $user_id = 0, $group_id = 0 ) { |
| 2118 | 2118 | |
| 2119 | 2119 | if ( ! empty( $membership_id ) ){ |
| 2120 | | _deprecated_argument( __METHOD__, '5.0.0', sprintf( __( 'Argument `membership_id` passed to %1$s is deprecated. See the inline documentation at %2$s for more details.', 'buddypress' ), __METHOD__, __FILE__ ) ); |
| | 2120 | _deprecated_argument( __METHOD__, '5.0.0', sprintf( __( 'Argument `membership_id` passed to %1$s is deprecated. See the inline documentation at %2$s for more details.', 'buddypress' ), __METHOD__, __FILE__ ) ); |
| 2121 | 2121 | } |
| 2122 | 2122 | |
| 2123 | 2123 | if ( ! groups_delete_membership_request( false, $user_id, $group_id ) ) { |
| … |
… |
function groups_reject_membership_request( $membership_id, $user_id = 0, $group_ |
| 2155 | 2155 | function groups_delete_membership_request( $membership_id, $user_id = 0, $group_id = 0 ) { |
| 2156 | 2156 | if ( ! empty( $membership_id ) ){ |
| 2157 | 2157 | /* translators: 1: method name. 2: file name. */ |
| 2158 | | _deprecated_argument( __METHOD__, '5.0.0', sprintf( __( 'Argument `membership_id` passed to %1$s is deprecated. See the inline documentation at %2$s for more details.', 'buddypress' ), __METHOD__, __FILE__ ) ); |
| | 2158 | _deprecated_argument( __METHOD__, '5.0.0', sprintf( __( 'Argument `membership_id` passed to %1$s is deprecated. See the inline documentation at %2$s for more details.', 'buddypress' ), __METHOD__, __FILE__ ) ); |
| 2159 | 2159 | } |
| 2160 | 2160 | |
| 2161 | 2161 | if ( empty( $user_id ) || empty( $group_id ) ) { |