BuddyPress - Version 6.0.0-beta2

Version Description

= 5.1.2 = See: https://codex.buddypress.org/releases/version-5-1-2/

= 5.1.1 = See: https://codex.buddypress.org/releases/version-5-1-1/

= 5.1.0 = See: https://codex.buddypress.org/releases/version-5-1-0/

= 5.0.0 = See: https://codex.buddypress.org/releases/version-5-0-0/

= 4.4.0 = See: https://codex.buddypress.org/releases/version-4-4-0/

= 4.3.0 = See: https://codex.buddypress.org/releases/version-4-3-0/

= 4.2.0 = See: https://codex.buddypress.org/releases/version-4-2-0/

= 4.1.0 = See: https://codex.buddypress.org/releases/version-4-1-0/

= 4.0.0 = See: https://codex.buddypress.org/releases/version-4-0-0/

Download this release

Release Info

Developer imath
Plugin Icon 128x128 BuddyPress
Version 6.0.0-beta2
Comparing to
See all releases

Code changes from version 6.0.0-beta1 to 6.0.0-beta2

bp-blogs/classes/class-bp-blogs-component.php CHANGED
@@ -331,7 +331,7 @@ class BP_Blogs_Component extends BP_Component {
331
'type' => 'thumb',
332
'alt' => sprintf(
333
/* translators: %s: member name */
334
- _( 'Profile picture of %s', 'buddypress' ),
335
bp_get_displayed_user_fullname()
336
),
337
) );
331
'type' => 'thumb',
332
'alt' => sprintf(
333
/* translators: %s: member name */
334
+ __( 'Profile picture of %s', 'buddypress' ),
335
bp_get_displayed_user_fullname()
336
),
337
) );
bp-blogs/classes/class-bp-rest-attachments-blog-avatar-endpoint.php CHANGED
@@ -81,7 +81,7 @@ class BP_REST_Attachments_Blog_Avatar_Endpoint extends WP_REST_Controller {
81
if ( ! $user instanceof WP_User ) {
82
return new WP_Error(
83
'bp_rest_blog_avatar_get_item_user_failed',
84
- __( 'There was a problem confirming if the user ID provided is valid.', 'buddypress' ),
85
array(
86
'status' => 500,
87
)
81
if ( ! $user instanceof WP_User ) {
82
return new WP_Error(
83
'bp_rest_blog_avatar_get_item_user_failed',
84
+ __( 'There was a problem confirming if user is valid.', 'buddypress' ),
85
array(
86
'status' => 500,
87
)
bp-blogs/classes/class-bp-rest-blogs-endpoint.php CHANGED
@@ -81,7 +81,7 @@ class BP_REST_Blogs_Endpoint extends WP_REST_Controller {
81
* @since 6.0.0
82
*
83
* @param WP_REST_Request $request Full details about the request.
84
- * @return WP_REST_Response
85
*/
86
public function get_items( $request ) {
87
$args = array(
@@ -178,7 +178,7 @@ class BP_REST_Blogs_Endpoint extends WP_REST_Controller {
178
* @since 6.0.0
179
*
180
* @param WP_REST_Request $request Full details about the request.
181
- * @return WP_REST_Response
182
*/
183
public function get_item( $request ) {
184
$blog = $this->get_blog_object( $request['id'] );
@@ -371,7 +371,7 @@ class BP_REST_Blogs_Endpoint extends WP_REST_Controller {
371
$blogs = current(
372
bp_blogs_get_blogs(
373
array(
374
- 'include_blog_ids' => array( $blog_id ),
375
)
376
)
377
);
81
* @since 6.0.0
82
*
83
* @param WP_REST_Request $request Full details about the request.
84
+ * @return WP_REST_Response|WP_Error
85
*/
86
public function get_items( $request ) {
87
$args = array(
178
* @since 6.0.0
179
*
180
* @param WP_REST_Request $request Full details about the request.
181
+ * @return WP_REST_Response|WP_Error
182
*/
183
public function get_item( $request ) {
184
$blog = $this->get_blog_object( $request['id'] );
371
$blogs = current(
372
bp_blogs_get_blogs(
373
array(
374
+ 'include_blog_ids' => array( $blog_id ),
375
)
376
)
377
);
bp-core/admin/bp-core-admin-schema.php CHANGED
@@ -37,6 +37,9 @@ function bp_core_install( $active_components = false ) {
37
// Install the signups table.
38
bp_core_maybe_install_signups();
39
40
// Notifications.
41
if ( !empty( $active_components['notifications'] ) ) {
42
bp_core_install_notifications();
37
// Install the signups table.
38
bp_core_maybe_install_signups();
39
40
+ // Install the invitations table.
41
+ bp_core_install_invitations();
42
+
43
// Notifications.
44
if ( !empty( $active_components['notifications'] ) ) {
45
bp_core_install_notifications();
bp-core/admin/bp-core-admin-tools.php CHANGED
@@ -147,6 +147,14 @@ function bp_admin_repair_list() {
147
'bp_admin_reinstall_emails',
148
);
149
150
ksort( $repair_list );
151
152
/**
@@ -325,6 +333,58 @@ function bp_admin_repair_last_activity() {
325
return array( 0, sprintf( $statement, __( 'Complete!', 'buddypress' ) ) );
326
}
327
328
/**
329
* Assemble admin notices relating success/failure of repair processes.
330
*
147
'bp_admin_reinstall_emails',
148
);
149
150
+ // Invitations:
151
+ // - maybe create the database table and migrate any existing group invitations.
152
+ $repair_list[110] = array(
153
+ 'bp-invitations-table',
154
+ __( 'Create the database table for Invitations and migrate existing group invitations if needed.', 'buddypress' ),
155
+ 'bp_admin_invitations_table',
156
+ );
157
+
158
ksort( $repair_list );
159
160
/**
333
return array( 0, sprintf( $statement, __( 'Complete!', 'buddypress' ) ) );
334
}
335
336
+ /**
337
+ * Create the invitations database table if it does not exist.
338
+ * Migrate outstanding group invitations if needed.
339
+ *
340
+ * @since 6.0.0
341
+ *
342
+ * @return array
343
+ */
344
+ function bp_admin_invitations_table() {
345
+ global $wpdb;
346
+
347
+ require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
348
+ require_once( buddypress()->plugin_dir . '/bp-core/admin/bp-core-admin-schema.php' );
349
+
350
+ $statement = __( 'Creating the Invitations database table if it does not exist… %s', 'buddypress' );
351
+ $result = __( 'Failed to create table!', 'buddypress' );
352
+
353
+ bp_core_install_invitations();
354
+
355
+ // Check for existence of invitations table.
356
+ $bp_prefix = bp_core_get_table_prefix();
357
+ $table_name = "{$bp_prefix}bp_invitations";
358
+ $query = $wpdb->prepare( 'SHOW TABLES LIKE %s', $wpdb->esc_like( $table_name ) );
359
+ if ( ! $wpdb->get_var( $query ) == $table_name ) {
360
+ // Early return if table creation failed.
361
+ return array( 2, sprintf( $statement, $result ) );
362
+ } else {
363
+ $result = __( 'Created invitations table!', 'buddypress' );
364
+ }
365
+
366
+ // Migrate group invitations if needed.
367
+ if ( bp_is_active( 'groups' ) ) {
368
+ $bp = buddypress();
369
+ $migrate_statement = __( 'Migrating group invitations… %s', 'buddypress' );
370
+ $migrate_result = __( 'Failed to migrate invitations!', 'buddypress' );
371
+
372
+ bp_groups_migrate_invitations();
373
+
374
+ // Check that there are no outstanding group invites in the group_members table.
375
+ $records = $wpdb->get_results( "SELECT id FROM {$bp->groups->table_name_members} WHERE is_confirmed = 0 AND is_banned = 0" );
376
+ if ( empty( $records ) ) {
377
+ $migrate_result = __( 'Migrated invitations!', 'buddypress' );
378
+ return array( 0, sprintf( $statement . ' ' . $migrate_statement , $result, $migrate_result ) );
379
+ } else {
380
+ return array( 2, sprintf( $statement . ' ' . $migrate_statement , $result, $migrate_result ) );
381
+ }
382
+ }
383
+
384
+ // Return a "create-only" success message.
385
+ return array( 0, sprintf( $statement, $result ) );
386
+ }
387
+
388
/**
389
* Assemble admin notices relating success/failure of repair processes.
390
*
bp-core/bp-core-update.php CHANGED
@@ -211,7 +211,6 @@ function bp_version_updater() {
211
bp_update_option( 'bp-active-components', $default_components );
212
bp_core_add_page_mappings( $default_components, 'delete' );
213
bp_core_install_emails();
214
- bp_core_install_invitations();
215
216
// Upgrades.
217
} else {
211
bp_update_option( 'bp-active-components', $default_components );
212
bp_core_add_page_mappings( $default_components, 'delete' );
213
bp_core_install_emails();
214
215
// Upgrades.
216
} else {
bp-core/classes/class-bp-rest-components-endpoint.php CHANGED
@@ -50,18 +50,12 @@ class BP_REST_Components_Endpoint extends WP_REST_Controller {
50
'type' => 'string',
51
'required' => true,
52
'description' => __( 'Name of the component.', 'buddypress' ),
53
- 'arg_options' => array(
54
- 'sanitize_callback' => 'sanitize_key',
55
- ),
56
),
57
'action' => array(
58
'description' => __( 'Whether to activate or deactivate the component.', 'buddypress' ),
59
'type' => 'string',
60
'enum' => array( 'activate', 'deactivate' ),
61
'required' => true,
62
- 'arg_options' => array(
63
- 'sanitize_callback' => 'sanitize_key',
64
- ),
65
),
66
),
67
),
@@ -170,7 +164,7 @@ class BP_REST_Components_Endpoint extends WP_REST_Controller {
170
if ( ! ( is_user_logged_in() && bp_current_user_can( 'bp_moderate' ) ) ) {
171
$retval = new WP_Error(
172
'bp_rest_authorization_required',
173
- __( 'Sorry, you do not have access to list components.', 'buddypress' ),
174
array(
175
'status' => rest_authorization_required_code(),
176
)
@@ -209,18 +203,7 @@ class BP_REST_Components_Endpoint extends WP_REST_Controller {
209
);
210
}
211
212
- $action = $request['action'];
213
- if ( empty( $action ) || ! in_array( $action, [ 'activate', 'deactivate' ], true ) ) {
214
- return new WP_Error(
215
- 'bp_rest_component_invalid_action',
216
- __( 'Sorry, this is not a valid action.', 'buddypress' ),
217
- array(
218
- 'status' => 500,
219
- )
220
- );
221
- }
222
-
223
- if ( 'activate' === $action ) {
224
if ( bp_is_active( $component ) ) {
225
return new WP_Error(
226
'bp_rest_component_already_active',
@@ -256,8 +239,6 @@ class BP_REST_Components_Endpoint extends WP_REST_Controller {
256
$component_info = $this->deactivate_helper( $component );
257
}
258
259
- $request->set_param( 'context', 'edit' );
260
-
261
$retval = array(
262
$this->prepare_response_for_collection(
263
$this->prepare_item_for_response( $component_info, $request )
@@ -312,11 +293,9 @@ class BP_REST_Components_Endpoint extends WP_REST_Controller {
312
* @return WP_REST_Response
313
*/
314
public function prepare_item_for_response( $component, $request ) {
315
- $context = ! empty( $request['context'] ) ? $request['context'] : 'view';
316
- $data = $this->add_additional_fields_to_object( $component, $request );
317
- $data = $this->filter_response_by_context( $data, $context );
318
-
319
- // @todo add prepare_links
320
$response = rest_ensure_response( $data );
321
322
/**
@@ -458,34 +437,22 @@ class BP_REST_Components_Endpoint extends WP_REST_Controller {
458
'context' => array( 'view', 'edit' ),
459
'description' => __( 'Name of the object.', 'buddypress' ),
460
'type' => 'string',
461
- 'arg_options' => array(
462
- 'sanitize_callback' => 'sanitize_key',
463
- ),
464
),
465
'status' => array(
466
'context' => array( 'view', 'edit' ),
467
'description' => __( 'Whether the object is active or inactive.', 'buddypress' ),
468
'type' => 'string',
469
'enum' => array( 'active', 'inactive' ),
470
- 'arg_options' => array(
471
- 'sanitize_callback' => 'sanitize_key',
472
- ),
473
),
474
'title' => array(
475
'context' => array( 'view', 'edit' ),
476
'description' => __( 'HTML title of the object.', 'buddypress' ),
477
'type' => 'string',
478
- 'arg_options' => array(
479
- 'sanitize_callback' => 'sanitize_text_field',
480
- ),
481
),
482
'description' => array(
483
'context' => array( 'view', 'edit' ),
484
'description' => __( 'HTML description of the object.', 'buddypress' ),
485
'type' => 'string',
486
- 'arg_options' => array(
487
- 'sanitize_callback' => 'sanitize_text_field',
488
- ),
489
),
490
),
491
);
50
'type' => 'string',
51
'required' => true,
52
'description' => __( 'Name of the component.', 'buddypress' ),
53
),
54
'action' => array(
55
'description' => __( 'Whether to activate or deactivate the component.', 'buddypress' ),
56
'type' => 'string',
57
'enum' => array( 'activate', 'deactivate' ),
58
'required' => true,
59
),
60
),
61
),
164
if ( ! ( is_user_logged_in() && bp_current_user_can( 'bp_moderate' ) ) ) {
165
$retval = new WP_Error(
166
'bp_rest_authorization_required',
167
+ __( 'Sorry, you are not allowed to perform this action.', 'buddypress' ),
168
array(
169
'status' => rest_authorization_required_code(),
170
)
203
);
204
}
205
206
+ if ( 'activate' === $request['action'] ) {
207
if ( bp_is_active( $component ) ) {
208
return new WP_Error(
209
'bp_rest_component_already_active',
239
$component_info = $this->deactivate_helper( $component );
240
}
241
242
$retval = array(
243
$this->prepare_response_for_collection(
244
$this->prepare_item_for_response( $component_info, $request )
293
* @return WP_REST_Response
294
*/
295
public function prepare_item_for_response( $component, $request ) {
296
+ $context = ! empty( $request['context'] ) ? $request['context'] : 'view';
297
+ $data = $this->add_additional_fields_to_object( $component, $request );
298
+ $data = $this->filter_response_by_context( $data, $context );
299
$response = rest_ensure_response( $data );
300
301
/**
437
'context' => array( 'view', 'edit' ),
438
'description' => __( 'Name of the object.', 'buddypress' ),
439
'type' => 'string',
440
),
441
'status' => array(
442
'context' => array( 'view', 'edit' ),
443
'description' => __( 'Whether the object is active or inactive.', 'buddypress' ),
444
'type' => 'string',
445
'enum' => array( 'active', 'inactive' ),
446
),
447
'title' => array(
448
'context' => array( 'view', 'edit' ),
449
'description' => __( 'HTML title of the object.', 'buddypress' ),
450
'type' => 'string',
451
),
452
'description' => array(
453
'context' => array( 'view', 'edit' ),
454
'description' => __( 'HTML description of the object.', 'buddypress' ),
455
'type' => 'string',
456
),
457
),
458
);
bp-core/classes/trait-attachments.php CHANGED
@@ -367,8 +367,6 @@ trait BP_REST_Attachments {
367
* Delete group's existing avatar if one exists.
368
*
369
* @since 5.0.0
370
- *
371
- * @return void
372
*/
373
protected function delete_existing_image() {
374
// Get existing avatar.
367
* Delete group's existing avatar if one exists.
368
*
369
* @since 5.0.0
370
*/
371
protected function delete_existing_image() {
372
// Get existing avatar.
bp-friends/classes/class-bp-rest-friends-endpoint.php CHANGED
@@ -93,7 +93,7 @@ class BP_REST_Friends_Endpoint extends WP_REST_Controller {
93
* @since 6.0.0
94
*
95
* @param WP_REST_Request $request Full details about the request.
96
- * @return WP_REST_Response
97
*/
98
public function get_items( $request ) {
99
$args = array(
@@ -129,7 +129,7 @@ class BP_REST_Friends_Endpoint extends WP_REST_Controller {
129
if ( ! $user instanceof WP_User ) {
130
return new WP_Error(
131
'bp_rest_friends_get_items_user_failed',
132
- __( 'There was a problem confirming if user is a valid one.', 'buddypress' ),
133
array(
134
'status' => 500,
135
)
93
* @since 6.0.0
94
*
95
* @param WP_REST_Request $request Full details about the request.
96
+ * @return WP_REST_Response|WP_Error
97
*/
98
public function get_items( $request ) {
99
$args = array(
129
if ( ! $user instanceof WP_User ) {
130
return new WP_Error(
131
'bp_rest_friends_get_items_user_failed',
132
+ __( 'There was a problem confirming if user is valid.', 'buddypress' ),
133
array(
134
'status' => 500,
135
)
bp-groups/classes/class-bp-rest-attachments-group-avatar-endpoint.php CHANGED
@@ -404,11 +404,9 @@ class BP_REST_Attachments_Group_Avatar_Endpoint extends WP_REST_Controller {
404
'thumb' => $avatar->thumb,
405
);
406
407
- $context = ! empty( $request['context'] ) ? $request['context'] : 'view';
408
- $data = $this->add_additional_fields_to_object( $data, $request );
409
- $data = $this->filter_response_by_context( $data, $context );
410
-
411
- // @todo add prepare_links
412
$response = rest_ensure_response( $data );
413
414
/**
404
'thumb' => $avatar->thumb,
405
);
406
407
+ $context = ! empty( $request['context'] ) ? $request['context'] : 'view';
408
+ $data = $this->add_additional_fields_to_object( $data, $request );
409
+ $data = $this->filter_response_by_context( $data, $context );
410
$response = rest_ensure_response( $data );
411
412
/**
bp-groups/classes/class-bp-rest-attachments-group-cover-endpoint.php CHANGED
@@ -380,11 +380,9 @@ class BP_REST_Attachments_Group_Cover_Endpoint extends WP_REST_Controller {
380
'image' => $cover_url,
381
);
382
383
- $context = ! empty( $request['context'] ) ? $request['context'] : 'view';
384
- $data = $this->add_additional_fields_to_object( $data, $request );
385
- $data = $this->filter_response_by_context( $data, $context );
386
-
387
- // @todo add prepare_links
388
$response = rest_ensure_response( $data );
389
390
/**
380
'image' => $cover_url,
381
);
382
383
+ $context = ! empty( $request['context'] ) ? $request['context'] : 'view';
384
+ $data = $this->add_additional_fields_to_object( $data, $request );
385
+ $data = $this->filter_response_by_context( $data, $context );
386
$response = rest_ensure_response( $data );
387
388
/**
bp-groups/classes/class-bp-rest-group-membership-endpoint.php CHANGED
@@ -495,7 +495,7 @@ class BP_REST_Group_Membership_Endpoint extends WP_REST_Controller {
495
496
$loggedin_user_id = bp_loggedin_user_id();
497
if ( true === $retval && in_array( $request['action'], [ 'ban', 'unban', 'promote', 'demote' ], true ) ) {
498
- if ( ! groups_is_user_admin( $loggedin_user_id, $group->id ) && ! groups_is_user_mod( $loggedin_user_id, $group->id ) ) {
499
$messages = array(
500
'ban' => __( 'Sorry, you are not allowed to ban this group member.', 'buddypress' ),
501
'unban' => __( 'Sorry, you are not allowed to unban this group member.', 'buddypress' ),
495
496
$loggedin_user_id = bp_loggedin_user_id();
497
if ( true === $retval && in_array( $request['action'], [ 'ban', 'unban', 'promote', 'demote' ], true ) ) {
498
+ if ( ! groups_is_user_admin( $loggedin_user_id, $group->id ) ) {
499
$messages = array(
500
'ban' => __( 'Sorry, you are not allowed to ban this group member.', 'buddypress' ),
501
'unban' => __( 'Sorry, you are not allowed to unban this group member.', 'buddypress' ),
bp-groups/js/blocks/group.js CHANGED
@@ -1,3 +1,3 @@
1
parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"pvse":[function(require,module,exports) {
2
- var e=wp.blocks.registerBlockType,t=wp.element,o=t.createElement,s=t.Fragment,r=wp.components,n=r.Placeholder,i=r.Disabled,l=r.PanelBody,p=r.SelectControl,a=r.ToggleControl,u=r.Toolbar,d=r.ToolbarButton,b=wp.blockEditor,c=b.InspectorControls,g=b.BlockControls,y=wp.data.withSelect,h=wp.compose.compose,m=wp.editor.ServerSideRender,v=wp.i18n.__,C=bp.blockComponents.AutoCompleter,f=[{label:v("None","buddypress"),value:"none"},{label:v("Thumb","buddypress"),value:"thumb"},{label:v("Full","buddypress"),value:"full"}],S=function(e){var t=e.attributes,r=e.setAttributes,b=e.bpSettings,y=b.isAvatarEnabled,h=b.isCoverImageEnabled,S=t.avatarSize,I=t.displayDescription,k=t.displayActionButton,D=t.displayCoverImage;return t.itemID?o(s,null,o(g,null,o(u,null,o(d,{icon:"edit",title:v("Select another group","buddypress"),onClick:function(){r({itemID:0})}}))),o(c,null,o(l,{title:v("Group's home button settings","buddypress"),initialOpen:!0},o(a,{label:v("Display Group's home button","buddypress"),checked:!!k,onChange:function(){r({displayActionButton:!k})},help:v(k?"Include a link to the group's home page under their name.":"Toggle to display a link to the group's home page under their name.","buddypress")})),o(l,{title:v("Description settings","buddypress"),initialOpen:!1},o(a,{label:v("Display group's description","buddypress"),checked:!!I,onChange:function(){r({displayDescription:!I})},help:v(I?"Include the group's description under their name.":"Toggle to display the group's description under their name.","buddypress")})),y&&o(l,{title:v("Avatar settings","buddypress"),initialOpen:!1},o(p,{label:v("Size","buddypress"),value:S,options:f,onChange:function(e){r({avatarSize:e})}})),h&&o(l,{title:v("Cover image settings","buddypress"),initialOpen:!1},o(a,{label:v("Display Cover Image","buddypress"),checked:!!D,onChange:function(){r({displayCoverImage:!D})},help:v(D?"Include the group's cover image over their name.":"Toggle to display the group's cover image over their name.","buddypress")}))),o(i,null,o(m,{block:"bp/group",attributes:t}))):o(n,{icon:"buddicons-groups",label:v("BuddyPress Group","buddypress"),instructions:v("Start typing the name of the group you want to feature into this post.","buddypress")},o(C,{component:"groups",objectStatus:"public",ariaLabel:v("Group's name","buddypress"),placeholder:v("Enter Group's name here…","buddypress"),onSelectItem:r,useAvatar:y}))},I=h([y(function(e){return{bpSettings:e("core/editor").getEditorSettings().bp.groups||{}}})])(S);e("bp/group",{title:v("Group","buddypress"),description:v("BuddyPress Group.","buddypress"),icon:"buddicons-groups",category:"buddypress",attributes:{itemID:{type:"integer",default:0},avatarSize:{type:"string",default:"full"},displayDescription:{type:"boolean",default:!0},displayActionButton:{type:"boolean",default:!0},displayCoverImage:{type:"boolean",default:!0}},edit:I});
3
},{}]},{},["pvse"], null)
1
parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"pvse":[function(require,module,exports) {
2
+ var e=wp.blocks.registerBlockType,t=wp.element,o=t.createElement,r=t.Fragment,s=wp.components,n=s.Placeholder,l=s.Disabled,a=s.PanelBody,p=s.SelectControl,i=s.ToggleControl,u=s.Toolbar,d=s.ToolbarButton,b=wp.blockEditor,c=b.InspectorControls,g=b.BlockControls,y=wp.data.withSelect,h=wp.compose.compose,m=wp.editor.ServerSideRender,v=wp.i18n.__,f=bp.blockComponents.AutoCompleter,C=[{label:v("None","buddypress"),value:"none"},{label:v("Thumb","buddypress"),value:"thumb"},{label:v("Full","buddypress"),value:"full"}],S=function(e){var t=e.attributes,s=e.setAttributes,b=e.bpSettings,y=b.isAvatarEnabled,h=b.isCoverImageEnabled,S=t.avatarSize,I=t.displayDescription,k=t.displayActionButton,w=t.displayCoverImage;return t.itemID?o(r,null,o(g,null,o(u,null,o(d,{icon:"edit",title:v("Select another group","buddypress"),onClick:function(){s({itemID:0})}}))),o(c,null,o(a,{title:v("Settings","buddypress"),initialOpen:!0},o(i,{label:v("Display Group's home button","buddypress"),checked:!!k,onChange:function(){s({displayActionButton:!k})},help:v(k?"Include a link to the group's home page under their name.":"Toggle to display a link to the group's home page under their name.","buddypress")}),o(i,{label:v("Display group's description","buddypress"),checked:!!I,onChange:function(){s({displayDescription:!I})},help:v(I?"Include the group's description under their name.":"Toggle to display the group's description under their name.","buddypress")}),y&&o(p,{label:v("Avatar size","buddypress"),value:S,options:C,help:v('Select "None" to disable the avatar.',"buddypress"),onChange:function(e){s({avatarSize:e})}}),h&&o(i,{label:v("Display Cover Image","buddypress"),checked:!!w,onChange:function(){s({displayCoverImage:!w})},help:v(w?"Include the group's cover image over their name.":"Toggle to display the group's cover image over their name.","buddypress")}))),o(l,null,o(m,{block:"bp/group",attributes:t}))):o(n,{icon:"buddicons-groups",label:v("BuddyPress Group","buddypress"),instructions:v("Start typing the name of the group you want to feature into this post.","buddypress")},o(f,{component:"groups",objectStatus:"public",ariaLabel:v("Group's name","buddypress"),placeholder:v("Enter Group's name here…","buddypress"),onSelectItem:s,useAvatar:y}))},I=h([y(function(e){return{bpSettings:e("core/editor").getEditorSettings().bp.groups||{}}})])(S);e("bp/group",{title:v("Group","buddypress"),description:v("BuddyPress Group.","buddypress"),icon:"buddicons-groups",category:"buddypress",attributes:{itemID:{type:"integer",default:0},avatarSize:{type:"string",default:"full"},displayDescription:{type:"boolean",default:!0},displayActionButton:{type:"boolean",default:!0},displayCoverImage:{type:"boolean",default:!0}},edit:I});
3
},{}]},{},["pvse"], null)
bp-loader.php CHANGED
@@ -15,7 +15,7 @@
15
* Description: BuddyPress adds community features to WordPress. Member Profiles, Activity Streams, Direct Messaging, Notifications, and more!
16
* Author: The BuddyPress Community
17
* Author URI: https://buddypress.org/
18
- * Version: 6.0.0-beta1
19
* Text Domain: buddypress
20
* Domain Path: /bp-languages/
21
* License: GPLv2 or later (license.txt)
15
* Description: BuddyPress adds community features to WordPress. Member Profiles, Activity Streams, Direct Messaging, Notifications, and more!
16
* Author: The BuddyPress Community
17
* Author URI: https://buddypress.org/
18
+ * Version: 6.0.0-beta2
19
* Text Domain: buddypress
20
* Domain Path: /bp-languages/
21
* License: GPLv2 or later (license.txt)
bp-members/classes/class-bp-rest-attachments-member-avatar-endpoint.php CHANGED
@@ -410,11 +410,9 @@ class BP_REST_Attachments_Member_Avatar_Endpoint extends WP_REST_Controller {
410
'thumb' => $avatar->thumb,
411
);
412
413
- $context = ! empty( $request['context'] ) ? $request['context'] : 'view';
414
- $data = $this->add_additional_fields_to_object( $data, $request );
415
- $data = $this->filter_response_by_context( $data, $context );
416
-
417
- // @todo add prepare_links
418
$response = rest_ensure_response( $data );
419
420
/**
410
'thumb' => $avatar->thumb,
411
);
412
413
+ $context = ! empty( $request['context'] ) ? $request['context'] : 'view';
414
+ $data = $this->add_additional_fields_to_object( $data, $request );
415
+ $data = $this->filter_response_by_context( $data, $context );
416
$response = rest_ensure_response( $data );
417
418
/**
bp-members/classes/class-bp-rest-signup-endpoint.php CHANGED
@@ -590,10 +590,8 @@ class BP_REST_Signup_Endpoint extends WP_REST_Controller {
590
$data['user_email'] = $signup->user_email;
591
}
592
593
- $data = $this->add_additional_fields_to_object( $data, $request );
594
- $data = $this->filter_response_by_context( $data, $context );
595
-
596
- // @todo add prepare_links
597
$response = rest_ensure_response( $data );
598
599
/**
590
$data['user_email'] = $signup->user_email;
591
}
592
593
+ $data = $this->add_additional_fields_to_object( $data, $request );
594
+ $data = $this->filter_response_by_context( $data, $context );
595
$response = rest_ensure_response( $data );
596
597
/**
bp-members/js/blocks/member.js CHANGED
@@ -1,3 +1,3 @@
1
parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"TmUL":[function(require,module,exports) {
2
- var e=wp.blocks.registerBlockType,t=wp.element,n=t.createElement,s=t.Fragment,l=wp.components,i=l.Placeholder,r=l.Disabled,a=l.PanelBody,o=l.SelectControl,d=l.ToggleControl,u=l.Toolbar,p=l.ToolbarButton,b=wp.blockEditor,m=b.InspectorControls,y=b.BlockControls,c=wp.data.withSelect,g=wp.compose.compose,h=wp.editor.ServerSideRender,v=wp.i18n.__,f=bp.blockComponents.AutoCompleter,C=[{label:v("None","buddypress"),value:"none"},{label:v("Thumb","buddypress"),value:"thumb"},{label:v("Full","buddypress"),value:"full"}],S=function(e){var t=e.attributes,l=e.setAttributes,b=e.bpSettings,c=b.isAvatarEnabled,g=b.isMentionEnabled,S=b.isCoverImageEnabled,I=t.avatarSize,k=t.displayMentionSlug,M=t.displayActionButton,w=t.displayCoverImage;return t.itemID?n(s,null,n(y,null,n(u,null,n(p,{icon:"edit",title:v("Select another member","buddypress"),onClick:function(){l({itemID:0})}}))),n(m,null,n(a,{title:v("Profile button settings","buddypress"),initialOpen:!0},n(d,{label:v("Display Profile button","buddypress"),checked:!!M,onChange:function(){l({displayActionButton:!M})},help:v(M?"Include a link to the user's profile page under their display name.":"Toggle to display a link to the user's profile page under their display name.","buddypress")})),c&&n(a,{title:v("Avatar settings","buddypress"),initialOpen:!1},n(o,{label:v("Size","buddypress"),value:I,options:C,onChange:function(e){l({avatarSize:e})}})),S&&n(a,{title:v("Cover image settings","buddypress"),initialOpen:!1},n(d,{label:v("Display Cover Image","buddypress"),checked:!!w,onChange:function(){l({displayCoverImage:!w})},help:v(w?"Include the user's cover image over their display name.":"Toggle to display the user's cover image over their display name.","buddypress")})),g&&n(a,{title:v("Mention settings","buddypress"),initialOpen:!1},n(d,{label:v("Display Mention slug","buddypress"),checked:!!k,onChange:function(){l({displayMentionSlug:!k})},help:v(k?"Include the user's mention name under their display name.":"Toggle to display the user's mention name under their display name.","buddypress")}))),n(r,null,n(h,{block:"bp/member",attributes:t}))):n(i,{icon:"admin-users",label:v("BuddyPress Member","buddypress"),instructions:v("Start typing the name of the member you want to feature into this post.","buddypress")},n(f,{component:"members",ariaLabel:v("Member's username","buddypress"),placeholder:v("Enter Member's username here…","buddypress"),onSelectItem:l,useAvatar:c}))},I=g([c(function(e){return{bpSettings:e("core/editor").getEditorSettings().bp.members||{}}})])(S);e("bp/member",{title:v("Member","buddypress"),description:v("BuddyPress Member.","buddypress"),icon:"admin-users",category:"buddypress",attributes:{itemID:{type:"integer",default:0},avatarSize:{type:"string",default:"full"},displayMentionSlug:{type:"boolean",default:!0},displayActionButton:{type:"boolean",default:!0},displayCoverImage:{type:"boolean",default:!0}},edit:I});
3
},{}]},{},["TmUL"], null)
1
parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"TmUL":[function(require,module,exports) {
2
+ var e=wp.blocks.registerBlockType,t=wp.element,n=t.createElement,l=t.Fragment,s=wp.components,a=s.Placeholder,r=s.Disabled,o=s.PanelBody,i=s.SelectControl,d=s.ToggleControl,u=s.Toolbar,p=s.ToolbarButton,b=wp.blockEditor,m=b.InspectorControls,y=b.BlockControls,c=wp.data.withSelect,g=wp.compose.compose,h=wp.editor.ServerSideRender,v=wp.i18n.__,f=bp.blockComponents.AutoCompleter,S=[{label:v("None","buddypress"),value:"none"},{label:v("Thumb","buddypress"),value:"thumb"},{label:v("Full","buddypress"),value:"full"}],C=function(e){var t=e.attributes,s=e.setAttributes,b=e.bpSettings,c=b.isAvatarEnabled,g=b.isMentionEnabled,C=b.isCoverImageEnabled,I=t.avatarSize,k=t.displayMentionSlug,w=t.displayActionButton,M=t.displayCoverImage;return t.itemID?n(l,null,n(y,null,n(u,null,n(p,{icon:"edit",title:v("Select another member","buddypress"),onClick:function(){s({itemID:0})}}))),n(m,null,n(o,{title:v("Settings","buddypress"),initialOpen:!0},n(d,{label:v("Display Profile button","buddypress"),checked:!!w,onChange:function(){s({displayActionButton:!w})},help:v(w?"Include a link to the user's profile page under their display name.":"Toggle to display a link to the user's profile page under their display name.","buddypress")}),c&&n(i,{label:v("Avatar size","buddypress"),value:I,options:S,help:v('Select "None" to disable the avatar.',"buddypress"),onChange:function(e){s({avatarSize:e})}}),C&&n(d,{label:v("Display Cover Image","buddypress"),checked:!!M,onChange:function(){s({displayCoverImage:!M})},help:v(M?"Include the user's cover image over their display name.":"Toggle to display the user's cover image over their display name.","buddypress")}),g&&n(d,{label:v("Display Mention slug","buddypress"),checked:!!k,onChange:function(){s({displayMentionSlug:!k})},help:v(k?"Include the user's mention name under their display name.":"Toggle to display the user's mention name under their display name.","buddypress")}))),n(r,null,n(h,{block:"bp/member",attributes:t}))):n(a,{icon:"admin-users",label:v("BuddyPress Member","buddypress"),instructions:v("Start typing the name of the member you want to feature into this post.","buddypress")},n(f,{component:"members",ariaLabel:v("Member's username","buddypress"),placeholder:v("Enter Member's username here…","buddypress"),onSelectItem:s,useAvatar:c}))},I=g([c(function(e){return{bpSettings:e("core/editor").getEditorSettings().bp.members||{}}})])(C);e("bp/member",{title:v("Member","buddypress"),description:v("BuddyPress Member.","buddypress"),icon:"admin-users",category:"buddypress",attributes:{itemID:{type:"integer",default:0},avatarSize:{type:"string",default:"full"},displayMentionSlug:{type:"boolean",default:!0},displayActionButton:{type:"boolean",default:!0},displayCoverImage:{type:"boolean",default:!0}},edit:I});
3
},{}]},{},["TmUL"], null)
bp-notifications/classes/class-bp-rest-notifications-endpoint.php CHANGED
@@ -514,7 +514,7 @@ class BP_REST_Notifications_Endpoint extends WP_REST_Controller {
514
}
515
516
/**
517
- * Prepares notification data for return as an object.
518
*
519
* @since 5.0.0
520
*
@@ -534,13 +534,13 @@ class BP_REST_Notifications_Endpoint extends WP_REST_Controller {
534
'is_new' => $notification->is_new,
535
);
536
537
- $context = ! empty( $request['context'] ) ? $request['context'] : 'view';
538
- $data = $this->add_additional_fields_to_object( $data, $request );
539
- $data = $this->filter_response_by_context( $data, $context );
540
-
541
- // @todo add prepare_links
542
$response = rest_ensure_response( $data );
543
544
/**
545
* Filter a notification value returned from the API.
546
*
514
}
515
516
/**
517
+ * Prepares notification data to return as an object.
518
*
519
* @since 5.0.0
520
*
534
'is_new' => $notification->is_new,
535
);
536
537
+ $context = ! empty( $request['context'] ) ? $request['context'] : 'view';
538
+ $data = $this->add_additional_fields_to_object( $data, $request );
539
+ $data = $this->filter_response_by_context( $data, $context );
540
$response = rest_ensure_response( $data );
541
542
+ $response->add_links( $this->prepare_links( $notification ) );
543
+
544
/**
545
* Filter a notification value returned from the API.
546
*
bp-settings/bp-settings-functions.php CHANGED
@@ -248,7 +248,9 @@ function bp_settings_get_personal_data_request( $user_id = 0 ) {
248
) );
249
250
if ( ! empty( $query->post ) ) {
251
- return wp_get_user_request_data( $query->post->ID );
252
} else {
253
return false;
254
}
248
) );
249
250
if ( ! empty( $query->post ) ) {
251
+ // WP 5.4 changed the user request function name to wp_get_user_request()
252
+ $user_request = function_exists( 'wp_get_user_request' ) ? 'wp_get_user_request' : 'wp_get_user_request_data';
253
+ return $user_request( $query->post->ID );
254
} else {
255
return false;
256
}
bp-templates/bp-nouveau/includes/members/loader.php CHANGED
@@ -3,7 +3,7 @@
3
* BP Nouveau Members
4
*
5
* @since 3.0.0
6
- * @version 3.0.0
7
*/
8
9
// Exit if accessed directly.
@@ -83,10 +83,14 @@ class BP_Nouveau_Members {
83
* Register add_filter() hooks
84
*
85
* @since 3.0.0
86
*/
87
protected function setup_filters() {
88
// Add the default-front to User's front hierarchy if user enabled it (Enabled by default).
89
add_filter( 'bp_displayed_user_get_front_template', 'bp_nouveau_member_reset_front_template', 10, 1 );
90
}
91
92
/**
3
* BP Nouveau Members
4
*
5
* @since 3.0.0
6
+ * @version 6.0.0
7
*/
8
9
// Exit if accessed directly.
83
* Register add_filter() hooks
84
*
85
* @since 3.0.0
86
+ * @since 6.0.0 Removes the BP Core number formatting filter on total members count.
87
*/
88
protected function setup_filters() {
89
// Add the default-front to User's front hierarchy if user enabled it (Enabled by default).
90
add_filter( 'bp_displayed_user_get_front_template', 'bp_nouveau_member_reset_front_template', 10, 1 );
91
+
92
+ // The number formatting is done into the `bp_nouveau_nav_count()` template tag.
93
+ remove_filter( 'bp_get_total_member_count', 'bp_core_number_format' );
94
}
95
96
/**
bp-xprofile/classes/class-bp-rest-xprofile-data-endpoint.php CHANGED
@@ -136,7 +136,7 @@ class BP_REST_XProfile_Data_Endpoint extends WP_REST_Controller {
136
$retval = true;
137
138
// Check the field exists.
139
- $field = $this->get_xprofile_field_object( $request['field_id'] );
140
141
if ( empty( $field->id ) ) {
142
$retval = new WP_Error(
@@ -149,7 +149,7 @@ class BP_REST_XProfile_Data_Endpoint extends WP_REST_Controller {
149
}
150
151
// Check the requested user exists.
152
- if ( true === $retval && ! bp_rest_get_user( $request['user_id'] ) ) {
153
$retval = new WP_Error(
154
'bp_rest_member_invalid_id',
155
__( 'Invalid member ID.', 'buddypress' ),
@@ -160,7 +160,7 @@ class BP_REST_XProfile_Data_Endpoint extends WP_REST_Controller {
160
}
161
162
// Check the user can view this field value.
163
- $hidden_user_fields = bp_xprofile_get_hidden_fields_for_user( $request['user_id'] );
164
165
if ( true === $retval && in_array( $field->id, $hidden_user_fields, true ) ) {
166
$retval = new WP_Error(
@@ -283,7 +283,7 @@ class BP_REST_XProfile_Data_Endpoint extends WP_REST_Controller {
283
);
284
}
285
286
- $user = bp_rest_get_user( $request['user_id'] );
287
288
if ( true === $retval && ! $user instanceof WP_User ) {
289
$retval = new WP_Error(
136
$retval = true;
137
138
// Check the field exists.
139
+ $field = $this->get_xprofile_field_object( $request->get_param( 'field_id' ) );
140
141
if ( empty( $field->id ) ) {
142
$retval = new WP_Error(
149
}
150
151
// Check the requested user exists.
152
+ if ( true === $retval && ! bp_rest_get_user( $request->get_param( 'user_id' ) ) ) {
153
$retval = new WP_Error(
154
'bp_rest_member_invalid_id',
155
__( 'Invalid member ID.', 'buddypress' ),
160
}
161
162
// Check the user can view this field value.
163
+ $hidden_user_fields = bp_xprofile_get_hidden_fields_for_user( $request->get_param( 'user_id' ) );
164
165
if ( true === $retval && in_array( $field->id, $hidden_user_fields, true ) ) {
166
$retval = new WP_Error(
283
);
284
}
285
286
+ $user = bp_rest_get_user( $request->get_param( 'user_id' ) );
287
288
if ( true === $retval && ! $user instanceof WP_User ) {
289
$retval = new WP_Error(
buddypress.pot CHANGED
@@ -9,7 +9,7 @@ msgstr ""
9
"MIME-Version: 1.0\n"
10
"Content-Type: text/plain; charset=UTF-8\n"
11
"Content-Transfer-Encoding: 8bit\n"
12
- "POT-Creation-Date: 2020-03-31T21:43:38+00:00\n"
13
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
"X-Generator: WP-CLI 2.4.0\n"
15
"X-Domain: buddypress\n"
@@ -17,7 +17,7 @@ msgstr ""
17
#. Plugin Name of the plugin
18
#: bp-core/admin/bp-core-admin-functions.php:758
19
#: bp-core/admin/bp-core-admin-functions.php:1229
20
- #: bp-core/admin/bp-core-admin-tools.php:557
21
#: bp-core/classes/class-bp-admin.php:210
22
#: bp-core/classes/class-bp-admin.php:211
23
#: bp-core/classes/class-bp-admin.php:231
@@ -697,7 +697,7 @@ msgstr ""
697
698
#: bp-activity/bp-activity-notifications.php:402
699
#: bp-blogs/bp-blogs-template.php:1151
700
- #: bp-core/admin/bp-core-admin-tools.php:537
701
#: bp-friends/bp-friends-functions.php:962
702
#: bp-friends/bp-friends-notifications.php:256
703
#: bp-groups/bp-groups-notifications.php:1138
@@ -710,7 +710,7 @@ msgstr ""
710
711
#: bp-activity/bp-activity-notifications.php:403
712
#: bp-blogs/bp-blogs-template.php:1155
713
- #: bp-core/admin/bp-core-admin-tools.php:539
714
#: bp-friends/bp-friends-functions.php:962
715
#: bp-friends/bp-friends-notifications.php:257
716
#: bp-groups/bp-groups-notifications.php:1139
@@ -1320,13 +1320,13 @@ msgstr ""
1320
#: bp-activity/classes/class-bp-rest-activity-endpoint.php:1461
1321
#: bp-blogs/classes/class-bp-rest-blogs-endpoint.php:513
1322
#: bp-members/classes/class-bp-rest-members-endpoint.php:817
1323
- #: bp-members/classes/class-bp-rest-signup-endpoint.php:770
1324
msgid "Ensure result set includes specific IDs."
1325
msgstr ""
1326
1327
#: bp-activity/classes/class-bp-rest-activity-endpoint.php:1470
1328
#: bp-groups/classes/class-bp-rest-groups-endpoint.php:1178
1329
- #: bp-members/classes/class-bp-rest-signup-endpoint.php:779
1330
#: bp-notifications/classes/class-bp-rest-notifications-endpoint.php:834
1331
msgid "Order sort attribute ascending or descending."
1332
msgstr ""
@@ -1340,7 +1340,7 @@ msgid "Limit result set to items created by a specific user (ID)."
1340
msgstr ""
1341
1342
#: bp-activity/classes/class-bp-rest-activity-endpoint.php:1494
1343
- #: bp-core/classes/class-bp-rest-components-endpoint.php:513
1344
msgid "Limit result set to items with a specific status."
1345
msgstr ""
1346
@@ -1658,7 +1658,12 @@ msgid "A unique numeric ID for the blog."
1658
msgstr ""
1659
1660
#: bp-blogs/classes/class-bp-rest-attachments-blog-avatar-endpoint.php:84
1661
- msgid "There was a problem confirming if the user ID provided is valid."
1662
msgstr ""
1663
1664
#: bp-blogs/classes/class-bp-rest-attachments-blog-avatar-endpoint.php:113
@@ -1685,22 +1690,22 @@ msgid "Sorry, blog avatar is disabled."
1685
msgstr ""
1686
1687
#: bp-blogs/classes/class-bp-rest-attachments-blog-avatar-endpoint.php:232
1688
- #: bp-groups/classes/class-bp-rest-attachments-group-avatar-endpoint.php:441
1689
- #: bp-groups/classes/class-bp-rest-attachments-group-cover-endpoint.php:417
1690
- #: bp-members/classes/class-bp-rest-attachments-member-avatar-endpoint.php:447
1691
#: bp-members/classes/class-bp-rest-attachments-member-cover-endpoint.php:415
1692
msgid "Full size of the image file."
1693
msgstr ""
1694
1695
#: bp-blogs/classes/class-bp-rest-attachments-blog-avatar-endpoint.php:239
1696
- #: bp-groups/classes/class-bp-rest-attachments-group-avatar-endpoint.php:447
1697
- #: bp-members/classes/class-bp-rest-attachments-member-avatar-endpoint.php:454
1698
msgid "Thumb size of the image file."
1699
msgstr ""
1700
1701
#: bp-blogs/classes/class-bp-rest-attachments-blog-avatar-endpoint.php:270
1702
- #: bp-groups/classes/class-bp-rest-attachments-group-avatar-endpoint.php:485
1703
- #: bp-members/classes/class-bp-rest-attachments-member-avatar-endpoint.php:493
1704
msgid "The alt attribute for the <img> element."
1705
msgstr ""
1706
@@ -1709,7 +1714,7 @@ msgid "The Blog admin user ID to avatar fallback."
1709
msgstr ""
1710
1711
#: bp-blogs/classes/class-bp-rest-attachments-blog-avatar-endpoint.php:286
1712
- #: bp-members/classes/class-bp-rest-attachments-member-avatar-endpoint.php:501
1713
msgid "Whether to disable the default Gravatar fallback."
1714
msgstr ""
1715
@@ -1762,7 +1767,7 @@ msgid "ID of the user whose blogs user can post to."
1762
msgstr ""
1763
1764
#: bp-blogs/classes/class-bp-rest-blogs-endpoint.php:522
1765
- #: bp-core/classes/class-bp-rest-components-endpoint.php:522
1766
msgid "Limit result set to items with a specific type."
1767
msgstr ""
1768
@@ -2052,12 +2057,12 @@ msgstr ""
2052
msgid "User removed from spam."
2053
msgstr ""
2054
2055
- #: bp-core/admin/bp-core-admin-schema.php:318
2056
msgctxt "First field-group name"
2057
msgid "General"
2058
msgstr ""
2059
2060
- #: bp-core/admin/bp-core-admin-schema.php:322
2061
msgctxt "Display name field"
2062
msgid "Display Name"
2063
msgstr ""
@@ -2154,8 +2159,8 @@ msgid "Registration is currently disabled. Before associating a page is allowed
2154
msgstr ""
2155
2156
#: bp-core/admin/bp-core-admin-tools.php:22
2157
- #: bp-core/admin/bp-core-admin-tools.php:411
2158
- #: bp-core/admin/bp-core-admin-tools.php:418
2159
#: bp-core/classes/class-bp-admin.php:294
2160
msgid "BuddyPress Tools"
2161
msgstr ""
@@ -2204,78 +2209,106 @@ msgstr ""
2204
msgid "Reinstall emails (delete and restore from defaults)."
2205
msgstr ""
2206
2207
#. translators: %s: the result of the action performed by the repair tool
2208
- #: bp-core/admin/bp-core-admin-tools.php:177
2209
msgid "Counting the number of friends for each user&hellip; %s"
2210
msgstr ""
2211
2212
- #: bp-core/admin/bp-core-admin-tools.php:178
2213
- #: bp-core/admin/bp-core-admin-tools.php:237
2214
- #: bp-core/admin/bp-core-admin-tools.php:282
2215
msgid "Failed!"
2216
msgstr ""
2217
2218
- #: bp-core/admin/bp-core-admin-tools.php:218
2219
- #: bp-core/admin/bp-core-admin-tools.php:266
2220
- #: bp-core/admin/bp-core-admin-tools.php:294
2221
- #: bp-core/admin/bp-core-admin-tools.php:311
2222
- #: bp-core/admin/bp-core-admin-tools.php:325
2223
msgid "Complete!"
2224
msgstr ""
2225
2226
#. translators: %s: the result of the action performed by the repair tool
2227
- #: bp-core/admin/bp-core-admin-tools.php:236
2228
msgid "Counting the number of groups for each user&hellip; %s"
2229
msgstr ""
2230
2231
#. translators: %s: the result of the action performed by the repair tool
2232
- #: bp-core/admin/bp-core-admin-tools.php:279
2233
msgid "Repopulating Blogs records&hellip; %s"
2234
msgstr ""
2235
2236
#. translators: %s: the result of the action performed by the repair tool
2237
- #: bp-core/admin/bp-core-admin-tools.php:308
2238
msgid "Counting the number of active members on the site&hellip; %s"
2239
msgstr ""
2240
2241
#. translators: %s: the result of the action performed by the repair tool
2242
- #: bp-core/admin/bp-core-admin-tools.php:323
2243
msgid "Determining last activity dates for each user&hellip; %s"
2244
msgstr ""
2245
2246
- #: bp-core/admin/bp-core-admin-tools.php:382
2247
#: bp-core/classes/class-bp-admin.php:271
2248
#: bp-core/classes/class-bp-admin.php:272
2249
msgid "Tools"
2250
msgstr ""
2251
2252
- #: bp-core/admin/bp-core-admin-tools.php:413
2253
msgid "BuddyPress keeps track of various relationships between users, groups, and activity items. Occasionally these relationships become out of sync, most often after an import, update, or migration."
2254
msgstr ""
2255
2256
#. translators: %s: the link to the BuddyPress repair tools
2257
- #: bp-core/admin/bp-core-admin-tools.php:417
2258
msgctxt "buddypress tools intro"
2259
msgid "Use the %s to repair these relationships."
2260
msgstr ""
2261
2262
- #: bp-core/admin/bp-core-admin-tools.php:478
2263
msgid "Emails have been successfully reinstalled."
2264
msgstr ""
2265
2266
- #: bp-core/admin/bp-core-admin-tools.php:498
2267
msgid "It looks like you have more sites to record. Resume recording by checking the \"Repopulate site tracking records\" option."
2268
msgstr ""
2269
2270
- #: bp-core/admin/bp-core-admin-tools.php:561
2271
msgid "Version"
2272
msgstr ""
2273
2274
- #: bp-core/admin/bp-core-admin-tools.php:565
2275
msgid "Active components"
2276
msgstr ""
2277
2278
- #: bp-core/admin/bp-core-admin-tools.php:569
2279
msgid "Active template pack"
2280
msgstr ""
2281
@@ -3580,22 +3613,22 @@ msgctxt "recipient salutation"
3580
msgid "Hi %s,"
3581
msgstr ""
3582
3583
- #: bp-core/bp-core-update.php:655
3584
msgctxt "component directory title"
3585
msgid "Site-Wide Activity"
3586
msgstr ""
3587
3588
- #: bp-core/bp-core-update.php:656
3589
msgctxt "component directory title"
3590
msgid "Sites"
3591
msgstr ""
3592
3593
- #: bp-core/bp-core-update.php:657
3594
msgctxt "component directory title"
3595
msgid "Groups"
3596
msgstr ""
3597
3598
- #: bp-core/bp-core-update.php:658
3599
msgctxt "component directory title"
3600
msgid "Members"
3601
msgstr ""
@@ -3727,6 +3760,8 @@ msgstr ""
3727
#: bp-settings/classes/class-bp-settings-component.php:28
3728
#: bp-settings/classes/class-bp-settings-component.php:142
3729
#: bp-settings/classes/class-bp-settings-component.php:243
3730
msgid "Settings"
3731
msgstr ""
3732
@@ -4298,55 +4333,52 @@ msgstr ""
4298
msgid "Name of the component."
4299
msgstr ""
4300
4301
- #: bp-core/classes/class-bp-rest-components-endpoint.php:58
4302
msgid "Whether to activate or deactivate the component."
4303
msgstr ""
4304
4305
- #: bp-core/classes/class-bp-rest-components-endpoint.php:173
4306
- msgid "Sorry, you do not have access to list components."
4307
msgstr ""
4308
4309
- #: bp-core/classes/class-bp-rest-components-endpoint.php:205
4310
msgid "Sorry, this component does not exist."
4311
msgstr ""
4312
4313
- #: bp-core/classes/class-bp-rest-components-endpoint.php:216
4314
- msgid "Sorry, this is not a valid action."
4315
- msgstr ""
4316
-
4317
- #: bp-core/classes/class-bp-rest-components-endpoint.php:227
4318
msgid "Sorry, this component is already active."
4319
msgstr ""
4320
4321
- #: bp-core/classes/class-bp-rest-components-endpoint.php:239
4322
msgid "Sorry, this component is not active."
4323
msgstr ""
4324
4325
- #: bp-core/classes/class-bp-rest-components-endpoint.php:249
4326
msgid "Sorry, you cannot deactivate a required component."
4327
msgstr ""
4328
4329
- #: bp-core/classes/class-bp-rest-components-endpoint.php:344
4330
msgid "active"
4331
msgstr ""
4332
4333
- #: bp-core/classes/class-bp-rest-components-endpoint.php:347
4334
msgid "inactive"
4335
msgstr ""
4336
4337
- #: bp-core/classes/class-bp-rest-components-endpoint.php:459
4338
msgid "Name of the object."
4339
msgstr ""
4340
4341
- #: bp-core/classes/class-bp-rest-components-endpoint.php:467
4342
msgid "Whether the object is active or inactive."
4343
msgstr ""
4344
4345
- #: bp-core/classes/class-bp-rest-components-endpoint.php:476
4346
msgid "HTML title of the object."
4347
msgstr ""
4348
4349
- #: bp-core/classes/class-bp-rest-components-endpoint.php:484
4350
msgid "HTML description of the object."
4351
msgstr ""
4352
@@ -4965,10 +4997,6 @@ msgstr ""
4965
msgid "Identifier for a user ID."
4966
msgstr ""
4967
4968
- #: bp-friends/classes/class-bp-rest-friends-endpoint.php:132
4969
- msgid "There was a problem confirming if user is a valid one."
4970
- msgstr ""
4971
-
4972
#: bp-friends/classes/class-bp-rest-friends-endpoint.php:180
4973
#: bp-friends/classes/class-bp-rest-friends-endpoint.php:271
4974
#: bp-groups/classes/class-bp-rest-attachments-group-cover-endpoint.php:341
@@ -4980,13 +5008,6 @@ msgstr ""
4980
msgid "Sorry, you need to be logged in to perform this action."
4981
msgstr ""
4982
4983
- #: bp-friends/classes/class-bp-rest-friends-endpoint.php:213
4984
- #: bp-friends/classes/class-bp-rest-friends-endpoint.php:305
4985
- #: bp-friends/classes/class-bp-rest-friends-endpoint.php:416
4986
- #: bp-friends/classes/class-bp-rest-friends-endpoint.php:511
4987
- msgid "There was a problem confirming if user is valid."
4988
- msgstr ""
4989
-
4990
#: bp-friends/classes/class-bp-rest-friends-endpoint.php:228
4991
#: bp-friends/classes/class-bp-rest-friends-endpoint.php:350
4992
msgid "Friendship does not exist."
@@ -5564,7 +5585,7 @@ msgstr ""
5564
#: bp-groups/bp-groups-functions.php:1213
5565
#: bp-groups/bp-groups-functions.php:2916
5566
#: bp-members/classes/class-bp-members-admin.php:836
5567
- #: bp-members/js/blocks/member.js:254
5568
msgid "Member"
5569
msgstr ""
5570
@@ -5920,7 +5941,7 @@ msgid "Private Group"
5920
msgstr ""
5921
5922
#: bp-groups/bp-groups-template.php:690
5923
- #: bp-groups/js/blocks/group.js:254
5924
msgid "Group"
5925
msgstr ""
5926
@@ -6527,7 +6548,7 @@ msgstr ""
6527
msgid "Sorry, there was a problem deleting this group avatar."
6528
msgstr ""
6529
6530
- #: bp-groups/classes/class-bp-rest-attachments-group-avatar-endpoint.php:477
6531
msgid "Whether to return an <img> HTML element, vs a raw URL to a group avatar."
6532
msgstr ""
6533
@@ -7995,7 +8016,7 @@ msgstr ""
7995
msgid "Sorry, there was a problem deleting the avatar."
7996
msgstr ""
7997
7998
- #: bp-members/classes/class-bp-rest-attachments-member-avatar-endpoint.php:485
7999
msgid "Whether to return an <img> HTML element, vs a raw URL to an avatar."
8000
msgstr ""
8001
@@ -8138,51 +8159,51 @@ msgstr ""
8138
msgid "Fail to activate the signup."
8139
msgstr ""
8140
8141
- #: bp-members/classes/class-bp-rest-signup-endpoint.php:655
8142
msgid "New user domain."
8143
msgstr ""
8144
8145
- #: bp-members/classes/class-bp-rest-signup-endpoint.php:662
8146
msgid "New user title."
8147
msgstr ""
8148
8149
- #: bp-members/classes/class-bp-rest-signup-endpoint.php:669
8150
msgid "New user path."
8151
msgstr ""
8152
8153
- #: bp-members/classes/class-bp-rest-signup-endpoint.php:706
8154
msgid "A unique numeric ID for the signup."
8155
msgstr ""
8156
8157
- #: bp-members/classes/class-bp-rest-signup-endpoint.php:712
8158
msgid "The username of the user the signup is for."
8159
msgstr ""
8160
8161
- #: bp-members/classes/class-bp-rest-signup-endpoint.php:719
8162
msgid "The full name of the user the signup is for."
8163
msgstr ""
8164
8165
- #: bp-members/classes/class-bp-rest-signup-endpoint.php:728
8166
msgid "The email for the user the signup is for."
8167
msgstr ""
8168
8169
- #: bp-members/classes/class-bp-rest-signup-endpoint.php:734
8170
msgid "Activation key of the signup."
8171
msgstr ""
8172
8173
- #: bp-members/classes/class-bp-rest-signup-endpoint.php:740
8174
msgid "The registered date for the user, in the site's timezone."
8175
msgstr ""
8176
8177
- #: bp-members/classes/class-bp-rest-signup-endpoint.php:788
8178
msgid "Total number of signups to return."
8179
msgstr ""
8180
8181
- #: bp-members/classes/class-bp-rest-signup-endpoint.php:796
8182
msgid "Order by a specific parameter (default: signup_id)."
8183
msgstr ""
8184
8185
- #: bp-members/classes/class-bp-rest-signup-endpoint.php:804
8186
msgid "Specific user login to return."
8187
msgstr ""
8188
@@ -8732,10 +8753,6 @@ msgstr ""
8732
msgid "ID of one of the message of the Thread."
8733
msgstr ""
8734
8735
- #: bp-messages/classes/class-bp-rest-messages-endpoint.php:188
8736
- msgid "Sorry, you are not allowed to perform this action."
8737
- msgstr ""
8738
-
8739
#: bp-messages/classes/class-bp-rest-messages-endpoint.php:210
8740
msgid "Sorry, you cannot view the messages."
8741
msgstr ""
@@ -9292,17 +9309,17 @@ msgstr ""
9292
msgid "Receive group invitations from my friends only?"
9293
msgstr ""
9294
9295
- #: bp-settings/bp-settings-functions.php:326
9296
msgctxt "WP Comments data exporter friendly name"
9297
msgid "Comments"
9298
msgstr ""
9299
9300
- #: bp-settings/bp-settings-functions.php:327
9301
msgctxt "WP Media data exporter friendly name"
9302
msgid "Media"
9303
msgstr ""
9304
9305
- #: bp-settings/bp-settings-functions.php:328
9306
msgctxt "WP Media data exporter friendly name"
9307
msgid "Personal information"
9308
msgstr ""
@@ -13259,10 +13276,6 @@ msgstr ""
13259
msgid "Select another group"
13260
msgstr ""
13261
13262
- #: bp-groups/js/blocks/group.js:194
13263
- msgid "Group's home button settings"
13264
- msgstr ""
13265
-
13266
#: bp-groups/js/blocks/group.js:197
13267
msgid "Display Group's home button"
13268
msgstr ""
@@ -13276,50 +13289,41 @@ msgid "Toggle to display a link to the group's home page under their name."
13276
msgstr ""
13277
13278
#: bp-groups/js/blocks/group.js:206
13279
- msgid "Description settings"
13280
- msgstr ""
13281
-
13282
- #: bp-groups/js/blocks/group.js:209
13283
msgid "Display group's description"
13284
msgstr ""
13285
13286
- #: bp-groups/js/blocks/group.js:216
13287
msgid "Include the group's description under their name."
13288
msgstr ""
13289
13290
- #: bp-groups/js/blocks/group.js:216
13291
msgid "Toggle to display the group's description under their name."
13292
msgstr ""
13293
13294
- #: bp-groups/js/blocks/group.js:218
13295
#: bp-members/js/blocks/member.js:206
13296
- msgid "Avatar settings"
13297
msgstr ""
13298
13299
- #: bp-groups/js/blocks/group.js:221
13300
#: bp-members/js/blocks/member.js:209
13301
- msgid "Size"
13302
- msgstr ""
13303
-
13304
- #: bp-groups/js/blocks/group.js:230
13305
- #: bp-members/js/blocks/member.js:218
13306
- msgid "Cover image settings"
13307
msgstr ""
13308
13309
- #: bp-groups/js/blocks/group.js:233
13310
- #: bp-members/js/blocks/member.js:221
13311
msgid "Display Cover Image"
13312
msgstr ""
13313
13314
- #: bp-groups/js/blocks/group.js:240
13315
msgid "Include the group's cover image over their name."
13316
msgstr ""
13317
13318
- #: bp-groups/js/blocks/group.js:240
13319
msgid "Toggle to display the group's cover image over their name."
13320
msgstr ""
13321
13322
- #: bp-groups/js/blocks/group.js:255
13323
msgid "BuddyPress Group."
13324
msgstr ""
13325
@@ -13343,10 +13347,6 @@ msgstr ""
13343
msgid "Select another member"
13344
msgstr ""
13345
13346
- #: bp-members/js/blocks/member.js:194
13347
- msgid "Profile button settings"
13348
- msgstr ""
13349
-
13350
#: bp-members/js/blocks/member.js:197
13351
msgid "Display Profile button"
13352
msgstr ""
@@ -13359,30 +13359,26 @@ msgstr ""
13359
msgid "Toggle to display a link to the user's profile page under their display name."
13360
msgstr ""
13361
13362
- #: bp-members/js/blocks/member.js:228
13363
msgid "Include the user's cover image over their display name."
13364
msgstr ""
13365
13366
- #: bp-members/js/blocks/member.js:228
13367
msgid "Toggle to display the user's cover image over their display name."
13368
msgstr ""
13369
13370
- #: bp-members/js/blocks/member.js:230
13371
- msgid "Mention settings"
13372
- msgstr ""
13373
-
13374
- #: bp-members/js/blocks/member.js:233
13375
msgid "Display Mention slug"
13376
msgstr ""
13377
13378
- #: bp-members/js/blocks/member.js:240
13379
msgid "Include the user's mention name under their display name."
13380
msgstr ""
13381
13382
- #: bp-members/js/blocks/member.js:240
13383
msgid "Toggle to display the user's mention name under their display name."
13384
msgstr ""
13385
13386
- #: bp-members/js/blocks/member.js:255
13387
msgid "BuddyPress Member."
13388
msgstr ""
9
"MIME-Version: 1.0\n"
10
"Content-Type: text/plain; charset=UTF-8\n"
11
"Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2020-04-15T22:48:34+00:00\n"
13
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
"X-Generator: WP-CLI 2.4.0\n"
15
"X-Domain: buddypress\n"
17
#. Plugin Name of the plugin
18
#: bp-core/admin/bp-core-admin-functions.php:758
19
#: bp-core/admin/bp-core-admin-functions.php:1229
20
+ #: bp-core/admin/bp-core-admin-tools.php:617
21
#: bp-core/classes/class-bp-admin.php:210
22
#: bp-core/classes/class-bp-admin.php:211
23
#: bp-core/classes/class-bp-admin.php:231
697
698
#: bp-activity/bp-activity-notifications.php:402
699
#: bp-blogs/bp-blogs-template.php:1151
700
+ #: bp-core/admin/bp-core-admin-tools.php:597
701
#: bp-friends/bp-friends-functions.php:962
702
#: bp-friends/bp-friends-notifications.php:256
703
#: bp-groups/bp-groups-notifications.php:1138
710
711
#: bp-activity/bp-activity-notifications.php:403
712
#: bp-blogs/bp-blogs-template.php:1155
713
+ #: bp-core/admin/bp-core-admin-tools.php:599
714
#: bp-friends/bp-friends-functions.php:962
715
#: bp-friends/bp-friends-notifications.php:257
716
#: bp-groups/bp-groups-notifications.php:1139
1320
#: bp-activity/classes/class-bp-rest-activity-endpoint.php:1461
1321
#: bp-blogs/classes/class-bp-rest-blogs-endpoint.php:513
1322
#: bp-members/classes/class-bp-rest-members-endpoint.php:817
1323
+ #: bp-members/classes/class-bp-rest-signup-endpoint.php:768
1324
msgid "Ensure result set includes specific IDs."
1325
msgstr ""
1326
1327
#: bp-activity/classes/class-bp-rest-activity-endpoint.php:1470
1328
#: bp-groups/classes/class-bp-rest-groups-endpoint.php:1178
1329
+ #: bp-members/classes/class-bp-rest-signup-endpoint.php:777
1330
#: bp-notifications/classes/class-bp-rest-notifications-endpoint.php:834
1331
msgid "Order sort attribute ascending or descending."
1332
msgstr ""
1340
msgstr ""
1341
1342
#: bp-activity/classes/class-bp-rest-activity-endpoint.php:1494
1343
+ #: bp-core/classes/class-bp-rest-components-endpoint.php:480
1344
msgid "Limit result set to items with a specific status."
1345
msgstr ""
1346
1658
msgstr ""
1659
1660
#: bp-blogs/classes/class-bp-rest-attachments-blog-avatar-endpoint.php:84
1661
+ #: bp-friends/classes/class-bp-rest-friends-endpoint.php:132
1662
+ #: bp-friends/classes/class-bp-rest-friends-endpoint.php:213
1663
+ #: bp-friends/classes/class-bp-rest-friends-endpoint.php:305
1664
+ #: bp-friends/classes/class-bp-rest-friends-endpoint.php:416
1665
+ #: bp-friends/classes/class-bp-rest-friends-endpoint.php:511
1666
+ msgid "There was a problem confirming if user is valid."
1667
msgstr ""
1668
1669
#: bp-blogs/classes/class-bp-rest-attachments-blog-avatar-endpoint.php:113
1690
msgstr ""
1691
1692
#: bp-blogs/classes/class-bp-rest-attachments-blog-avatar-endpoint.php:232
1693
+ #: bp-groups/classes/class-bp-rest-attachments-group-avatar-endpoint.php:439
1694
+ #: bp-groups/classes/class-bp-rest-attachments-group-cover-endpoint.php:415
1695
+ #: bp-members/classes/class-bp-rest-attachments-member-avatar-endpoint.php:445
1696
#: bp-members/classes/class-bp-rest-attachments-member-cover-endpoint.php:415
1697
msgid "Full size of the image file."
1698
msgstr ""
1699
1700
#: bp-blogs/classes/class-bp-rest-attachments-blog-avatar-endpoint.php:239
1701
+ #: bp-groups/classes/class-bp-rest-attachments-group-avatar-endpoint.php:445
1702
+ #: bp-members/classes/class-bp-rest-attachments-member-avatar-endpoint.php:452
1703
msgid "Thumb size of the image file."
1704
msgstr ""
1705
1706
#: bp-blogs/classes/class-bp-rest-attachments-blog-avatar-endpoint.php:270
1707
+ #: bp-groups/classes/class-bp-rest-attachments-group-avatar-endpoint.php:483
1708
+ #: bp-members/classes/class-bp-rest-attachments-member-avatar-endpoint.php:491
1709
msgid "The alt attribute for the <img> element."
1710
msgstr ""
1711
1714
msgstr ""
1715
1716
#: bp-blogs/classes/class-bp-rest-attachments-blog-avatar-endpoint.php:286
1717
+ #: bp-members/classes/class-bp-rest-attachments-member-avatar-endpoint.php:499
1718
msgid "Whether to disable the default Gravatar fallback."
1719
msgstr ""
1720
1767
msgstr ""
1768
1769
#: bp-blogs/classes/class-bp-rest-blogs-endpoint.php:522
1770
+ #: bp-core/classes/class-bp-rest-components-endpoint.php:489
1771
msgid "Limit result set to items with a specific type."
1772
msgstr ""
1773
2057
msgid "User removed from spam."
2058
msgstr ""
2059
2060
+ #: bp-core/admin/bp-core-admin-schema.php:321
2061
msgctxt "First field-group name"
2062
msgid "General"
2063
msgstr ""
2064
2065
+ #: bp-core/admin/bp-core-admin-schema.php:325
2066
msgctxt "Display name field"
2067
msgid "Display Name"
2068
msgstr ""
2159
msgstr ""
2160
2161
#: bp-core/admin/bp-core-admin-tools.php:22
2162
+ #: bp-core/admin/bp-core-admin-tools.php:471
2163
+ #: bp-core/admin/bp-core-admin-tools.php:478
2164
#: bp-core/classes/class-bp-admin.php:294
2165
msgid "BuddyPress Tools"
2166
msgstr ""
2209
msgid "Reinstall emails (delete and restore from defaults)."
2210
msgstr ""
2211
2212
+ #: bp-core/admin/bp-core-admin-tools.php:154
2213
+ msgid "Create the database table for Invitations and migrate existing group invitations if needed."
2214
+ msgstr ""
2215
+
2216
#. translators: %s: the result of the action performed by the repair tool
2217
+ #: bp-core/admin/bp-core-admin-tools.php:185
2218
msgid "Counting the number of friends for each user&hellip; %s"
2219
msgstr ""
2220
2221
+ #: bp-core/admin/bp-core-admin-tools.php:186
2222
+ #: bp-core/admin/bp-core-admin-tools.php:245
2223
+ #: bp-core/admin/bp-core-admin-tools.php:290
2224
msgid "Failed!"
2225
msgstr ""
2226
2227
+ #: bp-core/admin/bp-core-admin-tools.php:226
2228
+ #: bp-core/admin/bp-core-admin-tools.php:274
2229
+ #: bp-core/admin/bp-core-admin-tools.php:302
2230
+ #: bp-core/admin/bp-core-admin-tools.php:319
2231
+ #: bp-core/admin/bp-core-admin-tools.php:333
2232
msgid "Complete!"
2233
msgstr ""
2234
2235
#. translators: %s: the result of the action performed by the repair tool
2236
+ #: bp-core/admin/bp-core-admin-tools.php:244
2237
msgid "Counting the number of groups for each user&hellip; %s"
2238
msgstr ""
2239
2240
#. translators: %s: the result of the action performed by the repair tool
2241
+ #: bp-core/admin/bp-core-admin-tools.php:287
2242
msgid "Repopulating Blogs records&hellip; %s"
2243
msgstr ""
2244
2245
#. translators: %s: the result of the action performed by the repair tool
2246
+ #: bp-core/admin/bp-core-admin-tools.php:316
2247
msgid "Counting the number of active members on the site&hellip; %s"
2248
msgstr ""
2249
2250
#. translators: %s: the result of the action performed by the repair tool
2251
+ #: bp-core/admin/bp-core-admin-tools.php:331
2252
msgid "Determining last activity dates for each user&hellip; %s"
2253
msgstr ""
2254
2255
+ #: bp-core/admin/bp-core-admin-tools.php:350
2256
+ msgid "Creating the Invitations database table if it does not exist&hellip; %s"
2257
+ msgstr ""
2258
+
2259
+ #: bp-core/admin/bp-core-admin-tools.php:351
2260
+ msgid "Failed to create table!"
2261
+ msgstr ""
2262
+
2263
+ #: bp-core/admin/bp-core-admin-tools.php:363
2264
+ msgid "Created invitations table!"
2265
+ msgstr ""
2266
+
2267
+ #: bp-core/admin/bp-core-admin-tools.php:369
2268
+ msgid "Migrating group invitations&hellip; %s"
2269
+ msgstr ""
2270
+
2271
+ #: bp-core/admin/bp-core-admin-tools.php:370
2272
+ msgid "Failed to migrate invitations!"
2273
+ msgstr ""
2274
+
2275
+ #: bp-core/admin/bp-core-admin-tools.php:377
2276
+ msgid "Migrated invitations!"
2277
+ msgstr ""
2278
+
2279
+ #: bp-core/admin/bp-core-admin-tools.php:442
2280
#: bp-core/classes/class-bp-admin.php:271
2281
#: bp-core/classes/class-bp-admin.php:272
2282
msgid "Tools"
2283
msgstr ""
2284
2285
+ #: bp-core/admin/bp-core-admin-tools.php:473
2286
msgid "BuddyPress keeps track of various relationships between users, groups, and activity items. Occasionally these relationships become out of sync, most often after an import, update, or migration."
2287
msgstr ""
2288
2289
#. translators: %s: the link to the BuddyPress repair tools
2290
+ #: bp-core/admin/bp-core-admin-tools.php:477
2291
msgctxt "buddypress tools intro"
2292
msgid "Use the %s to repair these relationships."
2293
msgstr ""
2294
2295
+ #: bp-core/admin/bp-core-admin-tools.php:538
2296
msgid "Emails have been successfully reinstalled."
2297
msgstr ""
2298
2299
+ #: bp-core/admin/bp-core-admin-tools.php:558
2300
msgid "It looks like you have more sites to record. Resume recording by checking the \"Repopulate site tracking records\" option."
2301
msgstr ""
2302
2303
+ #: bp-core/admin/bp-core-admin-tools.php:621
2304
msgid "Version"
2305
msgstr ""
2306
2307
+ #: bp-core/admin/bp-core-admin-tools.php:625
2308
msgid "Active components"
2309
msgstr ""
2310
2311
+ #: bp-core/admin/bp-core-admin-tools.php:629
2312
msgid "Active template pack"
2313
msgstr ""
2314
3613
msgid "Hi %s,"
3614
msgstr ""
3615
3616
+ #: bp-core/bp-core-update.php:654
3617
msgctxt "component directory title"
3618
msgid "Site-Wide Activity"
3619
msgstr ""
3620
3621
+ #: bp-core/bp-core-update.php:655
3622
msgctxt "component directory title"
3623
msgid "Sites"
3624
msgstr ""
3625
3626
+ #: bp-core/bp-core-update.php:656
3627
msgctxt "component directory title"
3628
msgid "Groups"
3629
msgstr ""
3630
3631
+ #: bp-core/bp-core-update.php:657
3632
msgctxt "component directory title"
3633
msgid "Members"
3634
msgstr ""
3760
#: bp-settings/classes/class-bp-settings-component.php:28
3761
#: bp-settings/classes/class-bp-settings-component.php:142
3762
#: bp-settings/classes/class-bp-settings-component.php:243
3763
+ #: bp-groups/js/blocks/group.js:194
3764
+ #: bp-members/js/blocks/member.js:194
3765
msgid "Settings"
3766
msgstr ""
3767
4333
msgid "Name of the component."
4334
msgstr ""
4335
4336
+ #: bp-core/classes/class-bp-rest-components-endpoint.php:55
4337
msgid "Whether to activate or deactivate the component."
4338
msgstr ""
4339
4340
+ #: bp-core/classes/class-bp-rest-components-endpoint.php:167
4341
+ #: bp-messages/classes/class-bp-rest-messages-endpoint.php:188
4342
+ msgid "Sorry, you are not allowed to perform this action."
4343
msgstr ""
4344
4345
+ #: bp-core/classes/class-bp-rest-components-endpoint.php:199
4346
msgid "Sorry, this component does not exist."
4347
msgstr ""
4348
4349
+ #: bp-core/classes/class-bp-rest-components-endpoint.php:210
4350
msgid "Sorry, this component is already active."
4351
msgstr ""
4352
4353
+ #: bp-core/classes/class-bp-rest-components-endpoint.php:222
4354
msgid "Sorry, this component is not active."
4355
msgstr ""
4356
4357
+ #: bp-core/classes/class-bp-rest-components-endpoint.php:232
4358
msgid "Sorry, you cannot deactivate a required component."
4359
msgstr ""
4360
4361
+ #: bp-core/classes/class-bp-rest-components-endpoint.php:323
4362
msgid "active"
4363
msgstr ""
4364
4365
+ #: bp-core/classes/class-bp-rest-components-endpoint.php:326
4366
msgid "inactive"
4367
msgstr ""
4368
4369
+ #: bp-core/classes/class-bp-rest-components-endpoint.php:438
4370
msgid "Name of the object."
4371
msgstr ""
4372
4373
+ #: bp-core/classes/class-bp-rest-components-endpoint.php:443
4374
msgid "Whether the object is active or inactive."
4375
msgstr ""
4376
4377
+ #: bp-core/classes/class-bp-rest-components-endpoint.php:449
4378
msgid "HTML title of the object."
4379
msgstr ""
4380
4381
+ #: bp-core/classes/class-bp-rest-components-endpoint.php:454
4382
msgid "HTML description of the object."
4383
msgstr ""
4384
4997
msgid "Identifier for a user ID."
4998
msgstr ""
4999
5000
#: bp-friends/classes/class-bp-rest-friends-endpoint.php:180
5001
#: bp-friends/classes/class-bp-rest-friends-endpoint.php:271
5002
#: bp-groups/classes/class-bp-rest-attachments-group-cover-endpoint.php:341
5008
msgid "Sorry, you need to be logged in to perform this action."
5009
msgstr ""
5010
5011
#: bp-friends/classes/class-bp-rest-friends-endpoint.php:228
5012
#: bp-friends/classes/class-bp-rest-friends-endpoint.php:350
5013
msgid "Friendship does not exist."
5585
#: bp-groups/bp-groups-functions.php:1213
5586
#: bp-groups/bp-groups-functions.php:2916
5587
#: bp-members/classes/class-bp-members-admin.php:836
5588
+ #: bp-members/js/blocks/member.js:246
5589
msgid "Member"
5590
msgstr ""
5591
5941
msgstr ""
5942
5943
#: bp-groups/bp-groups-template.php:690
5944
+ #: bp-groups/js/blocks/group.js:246
5945
msgid "Group"
5946
msgstr ""
5947
6548
msgid "Sorry, there was a problem deleting this group avatar."
6549
msgstr ""
6550
6551
+ #: bp-groups/classes/class-bp-rest-attachments-group-avatar-endpoint.php:475
6552
msgid "Whether to return an <img> HTML element, vs a raw URL to a group avatar."
6553
msgstr ""
6554
8016
msgid "Sorry, there was a problem deleting the avatar."
8017
msgstr ""
8018
8019
+ #: bp-members/classes/class-bp-rest-attachments-member-avatar-endpoint.php:483
8020
msgid "Whether to return an <img> HTML element, vs a raw URL to an avatar."
8021
msgstr ""
8022
8159
msgid "Fail to activate the signup."
8160
msgstr ""
8161
8162
+ #: bp-members/classes/class-bp-rest-signup-endpoint.php:653
8163
msgid "New user domain."
8164
msgstr ""
8165
8166
+ #: bp-members/classes/class-bp-rest-signup-endpoint.php:660
8167
msgid "New user title."
8168
msgstr ""
8169
8170
+ #: bp-members/classes/class-bp-rest-signup-endpoint.php:667
8171
msgid "New user path."
8172
msgstr ""
8173
8174
+ #: bp-members/classes/class-bp-rest-signup-endpoint.php:704
8175
msgid "A unique numeric ID for the signup."
8176
msgstr ""
8177
8178
+ #: bp-members/classes/class-bp-rest-signup-endpoint.php:710
8179
msgid "The username of the user the signup is for."
8180
msgstr ""
8181
8182
+ #: bp-members/classes/class-bp-rest-signup-endpoint.php:717
8183
msgid "The full name of the user the signup is for."
8184
msgstr ""
8185
8186
+ #: bp-members/classes/class-bp-rest-signup-endpoint.php:726
8187
msgid "The email for the user the signup is for."
8188
msgstr ""
8189
8190
+ #: bp-members/classes/class-bp-rest-signup-endpoint.php:732
8191
msgid "Activation key of the signup."
8192
msgstr ""
8193
8194
+ #: bp-members/classes/class-bp-rest-signup-endpoint.php:738
8195
msgid "The registered date for the user, in the site's timezone."
8196
msgstr ""
8197
8198
+ #: bp-members/classes/class-bp-rest-signup-endpoint.php:786
8199
msgid "Total number of signups to return."
8200
msgstr ""
8201
8202
+ #: bp-members/classes/class-bp-rest-signup-endpoint.php:794
8203
msgid "Order by a specific parameter (default: signup_id)."
8204
msgstr ""
8205
8206
+ #: bp-members/classes/class-bp-rest-signup-endpoint.php:802
8207
msgid "Specific user login to return."
8208
msgstr ""
8209
8753
msgid "ID of one of the message of the Thread."
8754
msgstr ""
8755
8756
#: bp-messages/classes/class-bp-rest-messages-endpoint.php:210
8757
msgid "Sorry, you cannot view the messages."
8758
msgstr ""
9309
msgid "Receive group invitations from my friends only?"
9310
msgstr ""
9311
9312
+ #: bp-settings/bp-settings-functions.php:328
9313
msgctxt "WP Comments data exporter friendly name"
9314
msgid "Comments"
9315
msgstr ""
9316
9317
+ #: bp-settings/bp-settings-functions.php:329
9318
msgctxt "WP Media data exporter friendly name"
9319
msgid "Media"
9320
msgstr ""
9321
9322
+ #: bp-settings/bp-settings-functions.php:330
9323
msgctxt "WP Media data exporter friendly name"
9324
msgid "Personal information"
9325
msgstr ""
13276
msgid "Select another group"
13277
msgstr ""
13278
13279
#: bp-groups/js/blocks/group.js:197
13280
msgid "Display Group's home button"
13281
msgstr ""
13289
msgstr ""
13290
13291
#: bp-groups/js/blocks/group.js:206
13292
msgid "Display group's description"
13293
msgstr ""
13294
13295
+ #: bp-groups/js/blocks/group.js:213
13296
msgid "Include the group's description under their name."
13297
msgstr ""
13298
13299
+ #: bp-groups/js/blocks/group.js:213
13300
msgid "Toggle to display the group's description under their name."
13301
msgstr ""
13302
13303
+ #: bp-groups/js/blocks/group.js:215
13304
#: bp-members/js/blocks/member.js:206
13305
+ msgid "Avatar size"
13306
msgstr ""
13307
13308
+ #: bp-groups/js/blocks/group.js:218
13309
#: bp-members/js/blocks/member.js:209
13310
+ msgid "Select \"None\" to disable the avatar."
13311
msgstr ""
13312
13313
+ #: bp-groups/js/blocks/group.js:225
13314
+ #: bp-members/js/blocks/member.js:216
13315
msgid "Display Cover Image"
13316
msgstr ""
13317
13318
+ #: bp-groups/js/blocks/group.js:232
13319
msgid "Include the group's cover image over their name."
13320
msgstr ""
13321
13322
+ #: bp-groups/js/blocks/group.js:232
13323
msgid "Toggle to display the group's cover image over their name."
13324
msgstr ""
13325
13326
+ #: bp-groups/js/blocks/group.js:247
13327
msgid "BuddyPress Group."
13328
msgstr ""
13329
13347
msgid "Select another member"
13348
msgstr ""
13349
13350
#: bp-members/js/blocks/member.js:197
13351
msgid "Display Profile button"
13352
msgstr ""
13359
msgid "Toggle to display a link to the user's profile page under their display name."
13360
msgstr ""
13361
13362
+ #: bp-members/js/blocks/member.js:223
13363
msgid "Include the user's cover image over their display name."
13364
msgstr ""
13365
13366
+ #: bp-members/js/blocks/member.js:223
13367
msgid "Toggle to display the user's cover image over their display name."
13368
msgstr ""
13369
13370
+ #: bp-members/js/blocks/member.js:225
13371
msgid "Display Mention slug"
13372
msgstr ""
13373
13374
+ #: bp-members/js/blocks/member.js:232
13375
msgid "Include the user's mention name under their display name."
13376
msgstr ""
13377
13378
+ #: bp-members/js/blocks/member.js:232
13379
msgid "Toggle to display the user's mention name under their display name."
13380
msgstr ""
13381
13382
+ #: bp-members/js/blocks/member.js:247
13383
msgid "BuddyPress Member."
13384
msgstr ""
class-buddypress.php CHANGED
@@ -303,7 +303,7 @@ class BuddyPress {
303
304
/** Versions **********************************************************/
305
306
- $this->version = '6.0.0-beta1';
307
$this->db_version = 12385;
308
309
/** Loading ***********************************************************/
303
304
/** Versions **********************************************************/
305
306
+ $this->version = '6.0.0-beta2';
307
$this->db_version = 12385;
308
309
/** Loading ***********************************************************/