BuddyPress - Version 5.1.0-beta1

Version Description

= 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 5.1.0-beta1
Comparing to
See all releases

Code changes from version 5.0.0 to 5.1.0-beta1

bp-core/admin/bp-core-admin-functions.php CHANGED
@@ -1142,9 +1142,13 @@ add_filter( 'admin_body_class', 'bp_core_admin_body_classes' );
1142
  * @since 5.0.0
1143
  *
1144
  * @param array $categories Array of block categories.
1145
- * @param WP_Post $post Post being loaded.
1146
  */
1147
- function bp_block_category( $categories = array(), WP_Post $post ) {
 
 
 
 
1148
  /**
1149
  * Filter here to add/remove the supported post types for the BuddyPress blocks category.
1150
  *
1142
  * @since 5.0.0
1143
  *
1144
  * @param array $categories Array of block categories.
1145
+ * @param object $post Post being loaded.
1146
  */
1147
+ function bp_block_category( $categories = array(), $post = null ) {
1148
+ if ( ! ( $post instanceof WP_Post ) ) {
1149
+ return $categories;
1150
+ }
1151
+
1152
  /**
1153
  * Filter here to add/remove the supported post types for the BuddyPress blocks category.
1154
  *
bp-core/classes/class-bp-admin.php CHANGED
@@ -789,9 +789,9 @@ class BP_Admin {
789
  <?php
790
  printf(
791
  '<a class="twitter bp-tooltip" data-bp-tooltip="%1$s" href="%2$s"><span class="screen-reader-text">%3$s</span></a>',
792
- esc_attr( 'Follow BuddyPress on Twitter', 'buddypress' ),
793
  esc_url( 'https://twitter.com/buddypress' ),
794
- esc_html( 'Follow BuddyPress on Twitter', 'buddypress' )
795
  );
796
  ?>
797
  </li>
@@ -800,9 +800,9 @@ class BP_Admin {
800
  <?php
801
  printf(
802
  '<a class="support bp-tooltip" data-bp-tooltip="%1$s" href="%2$s"><span class="screen-reader-text">%3$s</span></a>',
803
- esc_attr( 'Visit the Support Forums', 'buddypress' ),
804
  esc_url( 'https://buddypress.org/support/' ),
805
- esc_html( 'Visit the Support Forums', 'buddypress' )
806
  );
807
  ?>
808
  </li>
789
  <?php
790
  printf(
791
  '<a class="twitter bp-tooltip" data-bp-tooltip="%1$s" href="%2$s"><span class="screen-reader-text">%3$s</span></a>',
792
+ esc_attr__( 'Follow BuddyPress on Twitter', 'buddypress' ),
793
  esc_url( 'https://twitter.com/buddypress' ),
794
+ esc_html__( 'Follow BuddyPress on Twitter', 'buddypress' )
795
  );
796
  ?>
797
  </li>
800
  <?php
801
  printf(
802
  '<a class="support bp-tooltip" data-bp-tooltip="%1$s" href="%2$s"><span class="screen-reader-text">%3$s</span></a>',
803
+ esc_attr__( 'Visit the Support Forums', 'buddypress' ),
804
  esc_url( 'https://buddypress.org/support/' ),
805
+ esc_html__( 'Visit the Support Forums', 'buddypress' )
806
  );
807
  ?>
808
  </li>
bp-groups/bp-groups-functions.php CHANGED
@@ -980,33 +980,32 @@ function bp_get_user_groups( $user_id, $args = array() ) {
980
 
981
  // Prime the invitations cache.
982
  $uncached_invitation_ids = bp_get_non_cached_ids( $invitation_ids, 'bp_groups_invitations_as_memberships' );
983
-
984
- $uncached_invitations = groups_get_invites( array(
985
- 'ids' => $uncached_invitation_ids,
986
- 'invite_sent' => 'all',
987
- 'type' => 'all'
988
- ) );
989
- foreach ( $uncached_invitations as $uncached_invitation ) {
990
- // Reshape the result as a membership db entry.
991
- $invitation = new StdClass;
992
- $invitation->id = $uncached_invitation->id;
993
- $invitation->group_id = $uncached_invitation->item_id;
994
- $invitation->user_id = $uncached_invitation->user_id;
995
- $invitation->inviter_id = $uncached_invitation->inviter_id;
996
- $invitation->is_admin = false;
997
- $invitation->is_mod = false;
998
- $invitation->user_title = '';
999
- $invitation->date_modified = $uncached_invitation->date_modified;
1000
- $invitation->comments = $uncached_invitation->content;
1001
- $invitation->is_confirmed = false;
1002
- $invitation->is_banned = false;
1003
- $invitation->invite_sent = $uncached_invitation->invite_sent;
1004
- wp_cache_set( $uncached_invitation->id, $invitation, 'bp_groups_invitations_as_memberships' );
 
1005
  }
1006
-
1007
  }
1008
 
1009
-
1010
  // Assemble filter array for use in `wp_list_filter()`.
1011
  $filters = wp_array_slice_assoc( $r, array( 'is_confirmed', 'is_banned', 'is_admin', 'is_mod', 'invite_sent' ) );
1012
  foreach ( $filters as $filter_name => $filter_value ) {
980
 
981
  // Prime the invitations cache.
982
  $uncached_invitation_ids = bp_get_non_cached_ids( $invitation_ids, 'bp_groups_invitations_as_memberships' );
983
+ if ( $uncached_invitation_ids ) {
984
+ $uncached_invitations = groups_get_invites( array(
985
+ 'id' => $uncached_invitation_ids,
986
+ 'invite_sent' => 'all',
987
+ 'type' => 'all'
988
+ ) );
989
+ foreach ( $uncached_invitations as $uncached_invitation ) {
990
+ // Reshape the result as a membership db entry.
991
+ $invitation = new StdClass;
992
+ $invitation->id = $uncached_invitation->id;
993
+ $invitation->group_id = $uncached_invitation->item_id;
994
+ $invitation->user_id = $uncached_invitation->user_id;
995
+ $invitation->inviter_id = $uncached_invitation->inviter_id;
996
+ $invitation->is_admin = false;
997
+ $invitation->is_mod = false;
998
+ $invitation->user_title = '';
999
+ $invitation->date_modified = $uncached_invitation->date_modified;
1000
+ $invitation->comments = $uncached_invitation->content;
1001
+ $invitation->is_confirmed = false;
1002
+ $invitation->is_banned = false;
1003
+ $invitation->invite_sent = $uncached_invitation->invite_sent;
1004
+ wp_cache_set( $uncached_invitation->id, $invitation, 'bp_groups_invitations_as_memberships' );
1005
+ }
1006
  }
 
1007
  }
1008
 
 
1009
  // Assemble filter array for use in `wp_list_filter()`.
1010
  $filters = wp_array_slice_assoc( $r, array( 'is_confirmed', 'is_banned', 'is_admin', 'is_mod', 'invite_sent' ) );
1011
  foreach ( $filters as $filter_name => $filter_value ) {
bp-groups/classes/class-bp-rest-groups-endpoint.php CHANGED
@@ -597,31 +597,36 @@ class BP_REST_Groups_Endpoint extends WP_REST_Controller {
597
  'name' => bp_get_group_name( $item ),
598
  'slug' => bp_get_group_slug( $item ),
599
  'status' => bp_get_group_status( $item ),
600
- 'avatar_urls' => array(),
601
  'admins' => array(),
602
  'mods' => array(),
603
  'total_member_count' => null,
604
  'last_activity' => null,
605
  );
606
 
607
- // Avatars.
608
- $data['avatar_urls']['thumb'] = bp_core_fetch_avatar(
609
- array(
610
- 'html' => false,
611
- 'object' => 'group',
612
- 'item_id' => $item->id,
613
- 'type' => 'thumb',
614
- )
615
- );
616
 
617
- $data['avatar_urls']['full'] = bp_core_fetch_avatar(
618
- array(
619
- 'html' => false,
620
- 'object' => 'group',
621
- 'item_id' => $item->id,
622
- 'type' => 'full',
623
- )
624
- );
 
 
 
 
 
 
 
 
 
 
 
 
 
625
 
626
  $context = ! empty( $request['context'] ) ? $request['context'] : 'view';
627
 
@@ -1051,7 +1056,7 @@ class BP_REST_Groups_Endpoint extends WP_REST_Controller {
1051
  );
1052
 
1053
  // Avatars.
1054
- if ( true === buddypress()->avatar->show_avatars ) {
1055
  $avatar_properties = array();
1056
 
1057
  $avatar_properties['full'] = array(
597
  'name' => bp_get_group_name( $item ),
598
  'slug' => bp_get_group_slug( $item ),
599
  'status' => bp_get_group_status( $item ),
 
600
  'admins' => array(),
601
  'mods' => array(),
602
  'total_member_count' => null,
603
  'last_activity' => null,
604
  );
605
 
606
+ // Get item schema.
607
+ $schema = $this->get_item_schema();
 
 
 
 
 
 
 
608
 
609
+ // Avatars.
610
+ if ( ! empty( $schema['properties']['avatar_urls'] ) ) {
611
+ $data['avatar_urls'] = array(
612
+ 'thumb' => bp_core_fetch_avatar(
613
+ array(
614
+ 'html' => false,
615
+ 'object' => 'group',
616
+ 'item_id' => $item->id,
617
+ 'type' => 'thumb',
618
+ )
619
+ ),
620
+ 'full' => bp_core_fetch_avatar(
621
+ array(
622
+ 'html' => false,
623
+ 'object' => 'group',
624
+ 'item_id' => $item->id,
625
+ 'type' => 'full',
626
+ )
627
+ ),
628
+ );
629
+ }
630
 
631
  $context = ! empty( $request['context'] ) ? $request['context'] : 'view';
632
 
1056
  );
1057
 
1058
  // Avatars.
1059
+ if ( ! bp_disable_group_avatar_uploads() ) {
1060
  $avatar_properties = array();
1061
 
1062
  $avatar_properties['full'] = array(
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: 5.0.0
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: 5.1.0-beta1
19
  * Text Domain: buddypress
20
  * Domain Path: /bp-languages/
21
  * License: GPLv2 or later (license.txt)
bp-members/classes/class-bp-members-component.php CHANGED
@@ -473,7 +473,6 @@ class BP_Members_Component extends BP_Component {
473
  */
474
  'BP_REST_Components_Endpoint',
475
  'BP_REST_Members_Endpoint',
476
- 'BP_REST_Attachments_Member_Avatar_Endpoint',
477
  ) );
478
  }
479
  }
473
  */
474
  'BP_REST_Components_Endpoint',
475
  'BP_REST_Members_Endpoint',
 
476
  ) );
477
  }
478
  }
bp-templates/bp-nouveau/buddypress/groups/single/request-membership.php CHANGED
@@ -22,7 +22,7 @@ bp_nouveau_group_hook( 'before', 'request_membership_content' ); ?>
22
  </p>
23
 
24
  <form action="<?php bp_group_form_action( 'request-membership' ); ?>" method="post" name="request-membership-form" id="request-membership-form" class="standard-form">
25
- <label for="group-request-membership-comments"><?php esc_html( 'Comments (optional)', 'buddypress' ); ?></label>
26
  <textarea name="group-request-membership-comments" id="group-request-membership-comments"></textarea>
27
 
28
  <?php bp_nouveau_group_hook( '', 'request_membership_content' ); ?>
22
  </p>
23
 
24
  <form action="<?php bp_group_form_action( 'request-membership' ); ?>" method="post" name="request-membership-form" id="request-membership-form" class="standard-form">
25
+ <label for="group-request-membership-comments"><?php esc_html_e( 'Comments (optional)', 'buddypress' ); ?></label>
26
  <textarea name="group-request-membership-comments" id="group-request-membership-comments"></textarea>
27
 
28
  <?php bp_nouveau_group_hook( '', 'request_membership_content' ); ?>
bp-templates/bp-nouveau/includes/notifications/template-tags.php CHANGED
@@ -104,7 +104,7 @@ function bp_nouveau_notifications_bulk_management_dropdown() {
104
  ?></label>
105
 
106
  <select name="notification_bulk_action" id="notification-select">
107
- <option value="" selected="selected"><?php echo esc_html( 'Bulk Actions', 'buddypress' ); ?></option>
108
 
109
  <?php if ( bp_is_current_action( 'unread' ) ) : ?>
110
  <option value="read"><?php echo esc_html_x( 'Mark read', 'button', 'buddypress' ); ?></option>
104
  ?></label>
105
 
106
  <select name="notification_bulk_action" id="notification-select">
107
+ <option value="" selected="selected"><?php esc_html_e( 'Bulk Actions', 'buddypress' ); ?></option>
108
 
109
  <?php if ( bp_is_current_action( 'unread' ) ) : ?>
110
  <option value="read"><?php echo esc_html_x( 'Mark read', 'button', 'buddypress' ); ?></option>
bp-xprofile/classes/class-bp-xprofile-component.php CHANGED
@@ -503,6 +503,7 @@ class BP_XProfile_Component extends BP_Component {
503
  'BP_REST_XProfile_Fields_Endpoint',
504
  'BP_REST_XProfile_Field_Groups_Endpoint',
505
  'BP_REST_XProfile_Data_Endpoint',
 
506
  ) );
507
  }
508
  }
503
  'BP_REST_XProfile_Fields_Endpoint',
504
  'BP_REST_XProfile_Field_Groups_Endpoint',
505
  'BP_REST_XProfile_Data_Endpoint',
506
+ 'BP_REST_Attachments_Member_Avatar_Endpoint',
507
  ) );
508
  }
509
  }
buddypress.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the GPLv2 or later (license.txt).
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: BuddyPress 5.0.0\n"
6
  "Report-Msgid-Bugs-To: https://buddypress.trac.wordpress.org\n"
7
- "POT-Creation-Date: 2019-09-30 20:39:56+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -772,8 +772,8 @@ msgstr ""
772
  #: bp-activity/classes/class-bp-activity-activity.php:367
773
  #: bp-activity/classes/class-bp-activity-template.php:146
774
  #: bp-groups/bp-groups-functions.php:246 bp-groups/bp-groups-functions.php:697
775
- #: bp-groups/bp-groups-functions.php:1675
776
- #: bp-groups/bp-groups-functions.php:2012
777
  #: bp-groups/classes/class-bp-groups-group-members-template.php:100
778
  #: bp-groups/classes/class-bp-groups-group.php:1058
779
  #: bp-groups/classes/class-bp-groups-invite-template.php:85
@@ -1061,7 +1061,7 @@ msgid "Whether the activity object has been favorited by the current user."
1061
  msgstr ""
1062
 
1063
  #: bp-activity/classes/class-bp-rest-activity-endpoint.php:1395
1064
- #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1059
1065
  #: bp-members/classes/class-bp-rest-members-endpoint.php:694
1066
  #. translators: Full image size for the member Avatar
1067
  #. translators: Full image size for the group Avatar
@@ -1070,7 +1070,7 @@ msgid "Avatar URL with full image size (%1$d x %2$d pixels)."
1070
  msgstr ""
1071
 
1072
  #: bp-activity/classes/class-bp-rest-activity-endpoint.php:1403
1073
- #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1067
1074
  #: bp-members/classes/class-bp-rest-members-endpoint.php:702
1075
  #. translators: Thumb imaze size for the member Avatar
1076
  #. translators: Thumb imaze size for the group Avatar
@@ -1093,7 +1093,7 @@ msgid "Ensure result set includes specific IDs."
1093
  msgstr ""
1094
 
1095
  #: bp-activity/classes/class-bp-rest-activity-endpoint.php:1455
1096
- #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1111
1097
  #: bp-notifications/classes/class-bp-rest-notifications-endpoint.php:834
1098
  msgid "Order sort attribute ascending or descending."
1099
  msgstr ""
@@ -3421,6 +3421,16 @@ msgid_plural "Built with %1$s by <a href=\"%2$s\">%3$d volunteers</a>."
3421
  msgstr[0] ""
3422
  msgstr[1] ""
3423
 
 
 
 
 
 
 
 
 
 
 
3424
  #: bp-core/classes/class-bp-admin.php:834
3425
  msgid "Meet the contributors behind BuddyPress:"
3426
  msgstr ""
@@ -3675,7 +3685,7 @@ msgstr[1] ""
3675
  #: bp-groups/classes/class-bp-rest-group-membership-endpoint.php:63
3676
  #: bp-groups/classes/class-bp-rest-group-membership-endpoint.php:89
3677
  #: bp-groups/classes/class-bp-rest-groups-endpoint.php:60
3678
- #: bp-groups/classes/class-bp-rest-groups-endpoint.php:935
3679
  msgid "A unique numeric ID for the Group."
3680
  msgstr ""
3681
 
@@ -4176,9 +4186,9 @@ msgstr ""
4176
 
4177
  #: bp-friends/bp-friends-functions.php:1013
4178
  #: bp-friends/bp-friends-functions.php:1076
4179
- #: bp-groups/bp-groups-functions.php:2965
4180
- #: bp-groups/bp-groups-functions.php:3035
4181
- #: bp-groups/bp-groups-functions.php:3105
4182
  #: bp-messages/bp-messages-functions.php:708
4183
  msgid "Date Sent"
4184
  msgstr ""
@@ -4436,7 +4446,7 @@ msgstr ""
4436
  msgid "Joined a group"
4437
  msgstr ""
4438
 
4439
- #: bp-groups/bp-groups-activity.php:44 bp-groups/bp-groups-functions.php:2906
4440
  msgid "Group Memberships"
4441
  msgstr ""
4442
 
@@ -4600,10 +4610,10 @@ msgstr ""
4600
  msgid "Name and Description"
4601
  msgstr ""
4602
 
4603
- #: bp-groups/bp-groups-admin.php:621 bp-groups/bp-groups-functions.php:2868
4604
- #: bp-groups/bp-groups-functions.php:2957
4605
- #: bp-groups/bp-groups-functions.php:3023
4606
- #: bp-groups/bp-groups-functions.php:3093
4607
  #. translators: accessibility text
4608
  msgid "Group Name"
4609
  msgstr ""
@@ -4747,22 +4757,22 @@ msgstr ""
4747
  msgid "Roles"
4748
  msgstr ""
4749
 
4750
- #: bp-groups/bp-groups-admin.php:1006 bp-groups/bp-groups-functions.php:1197
4751
  msgid "Administrator"
4752
  msgstr ""
4753
 
4754
- #: bp-groups/bp-groups-admin.php:1007 bp-groups/bp-groups-functions.php:1205
4755
- #: bp-groups/bp-groups-functions.php:2889
4756
  msgid "Moderator"
4757
  msgstr ""
4758
 
4759
- #: bp-groups/bp-groups-admin.php:1008 bp-groups/bp-groups-functions.php:1213
4760
- #: bp-groups/bp-groups-functions.php:2891
4761
  #: bp-members/classes/class-bp-members-admin.php:819
4762
  msgid "Member"
4763
  msgstr ""
4764
 
4765
- #: bp-groups/bp-groups-admin.php:1010 bp-groups/bp-groups-functions.php:1221
4766
  msgid "Banned"
4767
  msgstr ""
4768
 
@@ -4861,63 +4871,63 @@ msgstr ""
4861
  msgid "As the only admin, you cannot leave the group."
4862
  msgstr ""
4863
 
4864
- #: bp-groups/bp-groups-functions.php:2080
4865
- #: bp-groups/bp-groups-functions.php:2113
4866
- #: bp-groups/bp-groups-functions.php:2150
4867
  msgid ""
4868
  "Argument `membership_id` passed to %1$s is deprecated. See the inline "
4869
  "documentation at %2$s for more details."
4870
  msgstr ""
4871
 
4872
- #: bp-groups/bp-groups-functions.php:2499
4873
  msgid "Group type already exists."
4874
  msgstr ""
4875
 
4876
- #: bp-groups/bp-groups-functions.php:2526
4877
  msgid "You may not register a group type with this name."
4878
  msgstr ""
4879
 
4880
- #: bp-groups/bp-groups-functions.php:2872
4881
- #: bp-groups/bp-groups-functions.php:2961
4882
- #: bp-groups/bp-groups-functions.php:3027
4883
- #: bp-groups/bp-groups-functions.php:3097
4884
  msgid "Group URL"
4885
  msgstr ""
4886
 
4887
- #: bp-groups/bp-groups-functions.php:2879
4888
- #: bp-groups/bp-groups-functions.php:3101
4889
  msgid "Invited By"
4890
  msgstr ""
4891
 
4892
- #: bp-groups/bp-groups-functions.php:2885
4893
  msgid "Creator"
4894
  msgstr ""
4895
 
4896
- #: bp-groups/bp-groups-functions.php:2887
4897
  msgid "Admin"
4898
  msgstr ""
4899
 
4900
- #: bp-groups/bp-groups-functions.php:2895
4901
  msgid "Group Role"
4902
  msgstr ""
4903
 
4904
- #: bp-groups/bp-groups-functions.php:2900
4905
  msgid "Date Joined"
4906
  msgstr ""
4907
 
4908
- #: bp-groups/bp-groups-functions.php:2972
4909
  msgid "Pending Group Membership Requests"
4910
  msgstr ""
4911
 
4912
- #: bp-groups/bp-groups-functions.php:3031
4913
  msgid "Sent To"
4914
  msgstr ""
4915
 
4916
- #: bp-groups/bp-groups-functions.php:3042
4917
  msgid "Pending Group Invitations (Sent)"
4918
  msgstr ""
4919
 
4920
- #: bp-groups/bp-groups-functions.php:3112
4921
  msgid "Pending Group Invitations (Received)"
4922
  msgstr ""
4923
 
@@ -5722,109 +5732,109 @@ msgstr ""
5722
  msgid "Sorry, you are not allowed to delete this group."
5723
  msgstr ""
5724
 
5725
- #: bp-groups/classes/class-bp-rest-groups-endpoint.php:941
5726
  msgid "The ID of the user who created the Group."
5727
  msgstr ""
5728
 
5729
- #: bp-groups/classes/class-bp-rest-groups-endpoint.php:947
5730
  msgid "The name of the Group."
5731
  msgstr ""
5732
 
5733
- #: bp-groups/classes/class-bp-rest-groups-endpoint.php:956
5734
  msgid "The URL-friendly slug for the Group."
5735
  msgstr ""
5736
 
5737
- #: bp-groups/classes/class-bp-rest-groups-endpoint.php:964
5738
  msgid "The permalink to the Group on the site."
5739
  msgstr ""
5740
 
5741
- #: bp-groups/classes/class-bp-rest-groups-endpoint.php:971
5742
  msgid "The description of the Group."
5743
  msgstr ""
5744
 
5745
- #: bp-groups/classes/class-bp-rest-groups-endpoint.php:980
5746
  msgid "Content for the description of the Group, as it exists in the database."
5747
  msgstr ""
5748
 
5749
- #: bp-groups/classes/class-bp-rest-groups-endpoint.php:985
5750
  msgid "HTML content for the description of the Group, transformed for display."
5751
  msgstr ""
5752
 
5753
- #: bp-groups/classes/class-bp-rest-groups-endpoint.php:994
5754
  msgid "The status of the Group."
5755
  msgstr ""
5756
 
5757
- #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1004
5758
- #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1194
5759
  msgid "Whether the Group has a forum enabled or not."
5760
  msgstr ""
5761
 
5762
- #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1009
5763
  msgid "ID of the parent Group."
5764
  msgstr ""
5765
 
5766
- #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1014
5767
  msgid "The date the Group was created, in the site's timezone."
5768
  msgstr ""
5769
 
5770
- #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1021
5771
  msgid "Group administrators."
5772
  msgstr ""
5773
 
5774
- #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1030
5775
  msgid "Group moderators."
5776
  msgstr ""
5777
 
5778
- #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1039
5779
  msgid "Count of all Group members."
5780
  msgstr ""
5781
 
5782
- #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1045
5783
  msgid "The date the Group was last active, in the site's timezone."
5784
  msgstr ""
5785
 
5786
- #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1074
5787
  msgid "Avatar URLs for the group."
5788
  msgstr ""
5789
 
5790
- #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1102
5791
  #: bp-members/classes/class-bp-rest-members-endpoint.php:744
5792
  msgid "Shorthand for certain orderby/order combinations."
5793
  msgstr ""
5794
 
5795
- #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1120
5796
  msgid "Order Groups by which attribute."
5797
  msgstr ""
5798
 
5799
- #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1129
5800
  msgid "Group statuses to limit results to."
5801
  msgstr ""
5802
 
5803
- #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1141
5804
  msgid "Pass a user_id to limit to only Groups that this user is a member of."
5805
  msgstr ""
5806
 
5807
- #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1149
5808
  msgid "Get Groups that are children of the specified Group(s) IDs."
5809
  msgstr ""
5810
 
5811
- #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1159
5812
  msgid "Get Groups based on their meta data information."
5813
  msgstr ""
5814
 
5815
- #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1167
5816
  msgid "Ensure result set includes Groups with specific IDs."
5817
  msgstr ""
5818
 
5819
- #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1176
5820
  msgid "Ensure result set excludes Groups with specific IDs"
5821
  msgstr ""
5822
 
5823
- #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1185
5824
  msgid "Limit results set to a certain Group type."
5825
  msgstr ""
5826
 
5827
- #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1202
5828
  msgid "Whether results should include hidden Groups."
5829
  msgstr ""
5830
 
@@ -6984,6 +6994,7 @@ msgstr ""
6984
 
6985
  #: bp-messages/bp-messages-template.php:1036
6986
  #: bp-notifications/bp-notifications-template.php:1027
 
6987
  msgid "Bulk Actions"
6988
  msgstr ""
6989
 
@@ -8305,6 +8316,7 @@ msgid "You are requesting to become a member of the group \"%s\"."
8305
  msgstr ""
8306
 
8307
  #: bp-templates/bp-legacy/buddypress/groups/single/request-membership.php:33
 
8308
  msgid "Comments (optional)"
8309
  msgstr ""
8310
 
2
  # This file is distributed under the GPLv2 or later (license.txt).
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: BuddyPress 5.1.0-beta1\n"
6
  "Report-Msgid-Bugs-To: https://buddypress.trac.wordpress.org\n"
7
+ "POT-Creation-Date: 2019-11-06 02:01:17+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
772
  #: bp-activity/classes/class-bp-activity-activity.php:367
773
  #: bp-activity/classes/class-bp-activity-template.php:146
774
  #: bp-groups/bp-groups-functions.php:246 bp-groups/bp-groups-functions.php:697
775
+ #: bp-groups/bp-groups-functions.php:1674
776
+ #: bp-groups/bp-groups-functions.php:2011
777
  #: bp-groups/classes/class-bp-groups-group-members-template.php:100
778
  #: bp-groups/classes/class-bp-groups-group.php:1058
779
  #: bp-groups/classes/class-bp-groups-invite-template.php:85
1061
  msgstr ""
1062
 
1063
  #: bp-activity/classes/class-bp-rest-activity-endpoint.php:1395
1064
+ #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1064
1065
  #: bp-members/classes/class-bp-rest-members-endpoint.php:694
1066
  #. translators: Full image size for the member Avatar
1067
  #. translators: Full image size for the group Avatar
1070
  msgstr ""
1071
 
1072
  #: bp-activity/classes/class-bp-rest-activity-endpoint.php:1403
1073
+ #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1072
1074
  #: bp-members/classes/class-bp-rest-members-endpoint.php:702
1075
  #. translators: Thumb imaze size for the member Avatar
1076
  #. translators: Thumb imaze size for the group Avatar
1093
  msgstr ""
1094
 
1095
  #: bp-activity/classes/class-bp-rest-activity-endpoint.php:1455
1096
+ #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1116
1097
  #: bp-notifications/classes/class-bp-rest-notifications-endpoint.php:834
1098
  msgid "Order sort attribute ascending or descending."
1099
  msgstr ""
3421
  msgstr[0] ""
3422
  msgstr[1] ""
3423
 
3424
+ #: bp-core/classes/class-bp-admin.php:792
3425
+ #: bp-core/classes/class-bp-admin.php:794
3426
+ msgid "Follow BuddyPress on Twitter"
3427
+ msgstr ""
3428
+
3429
+ #: bp-core/classes/class-bp-admin.php:803
3430
+ #: bp-core/classes/class-bp-admin.php:805
3431
+ msgid "Visit the Support Forums"
3432
+ msgstr ""
3433
+
3434
  #: bp-core/classes/class-bp-admin.php:834
3435
  msgid "Meet the contributors behind BuddyPress:"
3436
  msgstr ""
3685
  #: bp-groups/classes/class-bp-rest-group-membership-endpoint.php:63
3686
  #: bp-groups/classes/class-bp-rest-group-membership-endpoint.php:89
3687
  #: bp-groups/classes/class-bp-rest-groups-endpoint.php:60
3688
+ #: bp-groups/classes/class-bp-rest-groups-endpoint.php:940
3689
  msgid "A unique numeric ID for the Group."
3690
  msgstr ""
3691
 
4186
 
4187
  #: bp-friends/bp-friends-functions.php:1013
4188
  #: bp-friends/bp-friends-functions.php:1076
4189
+ #: bp-groups/bp-groups-functions.php:2964
4190
+ #: bp-groups/bp-groups-functions.php:3034
4191
+ #: bp-groups/bp-groups-functions.php:3104
4192
  #: bp-messages/bp-messages-functions.php:708
4193
  msgid "Date Sent"
4194
  msgstr ""
4446
  msgid "Joined a group"
4447
  msgstr ""
4448
 
4449
+ #: bp-groups/bp-groups-activity.php:44 bp-groups/bp-groups-functions.php:2905
4450
  msgid "Group Memberships"
4451
  msgstr ""
4452
 
4610
  msgid "Name and Description"
4611
  msgstr ""
4612
 
4613
+ #: bp-groups/bp-groups-admin.php:621 bp-groups/bp-groups-functions.php:2867
4614
+ #: bp-groups/bp-groups-functions.php:2956
4615
+ #: bp-groups/bp-groups-functions.php:3022
4616
+ #: bp-groups/bp-groups-functions.php:3092
4617
  #. translators: accessibility text
4618
  msgid "Group Name"
4619
  msgstr ""
4757
  msgid "Roles"
4758
  msgstr ""
4759
 
4760
+ #: bp-groups/bp-groups-admin.php:1006 bp-groups/bp-groups-functions.php:1196
4761
  msgid "Administrator"
4762
  msgstr ""
4763
 
4764
+ #: bp-groups/bp-groups-admin.php:1007 bp-groups/bp-groups-functions.php:1204
4765
+ #: bp-groups/bp-groups-functions.php:2888
4766
  msgid "Moderator"
4767
  msgstr ""
4768
 
4769
+ #: bp-groups/bp-groups-admin.php:1008 bp-groups/bp-groups-functions.php:1212
4770
+ #: bp-groups/bp-groups-functions.php:2890
4771
  #: bp-members/classes/class-bp-members-admin.php:819
4772
  msgid "Member"
4773
  msgstr ""
4774
 
4775
+ #: bp-groups/bp-groups-admin.php:1010 bp-groups/bp-groups-functions.php:1220
4776
  msgid "Banned"
4777
  msgstr ""
4778
 
4871
  msgid "As the only admin, you cannot leave the group."
4872
  msgstr ""
4873
 
4874
+ #: bp-groups/bp-groups-functions.php:2079
4875
+ #: bp-groups/bp-groups-functions.php:2112
4876
+ #: bp-groups/bp-groups-functions.php:2149
4877
  msgid ""
4878
  "Argument `membership_id` passed to %1$s is deprecated. See the inline "
4879
  "documentation at %2$s for more details."
4880
  msgstr ""
4881
 
4882
+ #: bp-groups/bp-groups-functions.php:2498
4883
  msgid "Group type already exists."
4884
  msgstr ""
4885
 
4886
+ #: bp-groups/bp-groups-functions.php:2525
4887
  msgid "You may not register a group type with this name."
4888
  msgstr ""
4889
 
4890
+ #: bp-groups/bp-groups-functions.php:2871
4891
+ #: bp-groups/bp-groups-functions.php:2960
4892
+ #: bp-groups/bp-groups-functions.php:3026
4893
+ #: bp-groups/bp-groups-functions.php:3096
4894
  msgid "Group URL"
4895
  msgstr ""
4896
 
4897
+ #: bp-groups/bp-groups-functions.php:2878
4898
+ #: bp-groups/bp-groups-functions.php:3100
4899
  msgid "Invited By"
4900
  msgstr ""
4901
 
4902
+ #: bp-groups/bp-groups-functions.php:2884
4903
  msgid "Creator"
4904
  msgstr ""
4905
 
4906
+ #: bp-groups/bp-groups-functions.php:2886
4907
  msgid "Admin"
4908
  msgstr ""
4909
 
4910
+ #: bp-groups/bp-groups-functions.php:2894
4911
  msgid "Group Role"
4912
  msgstr ""
4913
 
4914
+ #: bp-groups/bp-groups-functions.php:2899
4915
  msgid "Date Joined"
4916
  msgstr ""
4917
 
4918
+ #: bp-groups/bp-groups-functions.php:2971
4919
  msgid "Pending Group Membership Requests"
4920
  msgstr ""
4921
 
4922
+ #: bp-groups/bp-groups-functions.php:3030
4923
  msgid "Sent To"
4924
  msgstr ""
4925
 
4926
+ #: bp-groups/bp-groups-functions.php:3041
4927
  msgid "Pending Group Invitations (Sent)"
4928
  msgstr ""
4929
 
4930
+ #: bp-groups/bp-groups-functions.php:3111
4931
  msgid "Pending Group Invitations (Received)"
4932
  msgstr ""
4933
 
5732
  msgid "Sorry, you are not allowed to delete this group."
5733
  msgstr ""
5734
 
5735
+ #: bp-groups/classes/class-bp-rest-groups-endpoint.php:946
5736
  msgid "The ID of the user who created the Group."
5737
  msgstr ""
5738
 
5739
+ #: bp-groups/classes/class-bp-rest-groups-endpoint.php:952
5740
  msgid "The name of the Group."
5741
  msgstr ""
5742
 
5743
+ #: bp-groups/classes/class-bp-rest-groups-endpoint.php:961
5744
  msgid "The URL-friendly slug for the Group."
5745
  msgstr ""
5746
 
5747
+ #: bp-groups/classes/class-bp-rest-groups-endpoint.php:969
5748
  msgid "The permalink to the Group on the site."
5749
  msgstr ""
5750
 
5751
+ #: bp-groups/classes/class-bp-rest-groups-endpoint.php:976
5752
  msgid "The description of the Group."
5753
  msgstr ""
5754
 
5755
+ #: bp-groups/classes/class-bp-rest-groups-endpoint.php:985
5756
  msgid "Content for the description of the Group, as it exists in the database."
5757
  msgstr ""
5758
 
5759
+ #: bp-groups/classes/class-bp-rest-groups-endpoint.php:990
5760
  msgid "HTML content for the description of the Group, transformed for display."
5761
  msgstr ""
5762
 
5763
+ #: bp-groups/classes/class-bp-rest-groups-endpoint.php:999
5764
  msgid "The status of the Group."
5765
  msgstr ""
5766
 
5767
+ #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1009
5768
+ #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1199
5769
  msgid "Whether the Group has a forum enabled or not."
5770
  msgstr ""
5771
 
5772
+ #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1014
5773
  msgid "ID of the parent Group."
5774
  msgstr ""
5775
 
5776
+ #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1019
5777
  msgid "The date the Group was created, in the site's timezone."
5778
  msgstr ""
5779
 
5780
+ #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1026
5781
  msgid "Group administrators."
5782
  msgstr ""
5783
 
5784
+ #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1035
5785
  msgid "Group moderators."
5786
  msgstr ""
5787
 
5788
+ #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1044
5789
  msgid "Count of all Group members."
5790
  msgstr ""
5791
 
5792
+ #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1050
5793
  msgid "The date the Group was last active, in the site's timezone."
5794
  msgstr ""
5795
 
5796
+ #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1079
5797
  msgid "Avatar URLs for the group."
5798
  msgstr ""
5799
 
5800
+ #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1107
5801
  #: bp-members/classes/class-bp-rest-members-endpoint.php:744
5802
  msgid "Shorthand for certain orderby/order combinations."
5803
  msgstr ""
5804
 
5805
+ #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1125
5806
  msgid "Order Groups by which attribute."
5807
  msgstr ""
5808
 
5809
+ #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1134
5810
  msgid "Group statuses to limit results to."
5811
  msgstr ""
5812
 
5813
+ #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1146
5814
  msgid "Pass a user_id to limit to only Groups that this user is a member of."
5815
  msgstr ""
5816
 
5817
+ #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1154
5818
  msgid "Get Groups that are children of the specified Group(s) IDs."
5819
  msgstr ""
5820
 
5821
+ #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1164
5822
  msgid "Get Groups based on their meta data information."
5823
  msgstr ""
5824
 
5825
+ #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1172
5826
  msgid "Ensure result set includes Groups with specific IDs."
5827
  msgstr ""
5828
 
5829
+ #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1181
5830
  msgid "Ensure result set excludes Groups with specific IDs"
5831
  msgstr ""
5832
 
5833
+ #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1190
5834
  msgid "Limit results set to a certain Group type."
5835
  msgstr ""
5836
 
5837
+ #: bp-groups/classes/class-bp-rest-groups-endpoint.php:1207
5838
  msgid "Whether results should include hidden Groups."
5839
  msgstr ""
5840
 
6994
 
6995
  #: bp-messages/bp-messages-template.php:1036
6996
  #: bp-notifications/bp-notifications-template.php:1027
6997
+ #: bp-templates/bp-nouveau/includes/notifications/template-tags.php:107
6998
  msgid "Bulk Actions"
6999
  msgstr ""
7000
 
8316
  msgstr ""
8317
 
8318
  #: bp-templates/bp-legacy/buddypress/groups/single/request-membership.php:33
8319
+ #: bp-templates/bp-nouveau/buddypress/groups/single/request-membership.php:25
8320
  msgid "Comments (optional)"
8321
  msgstr ""
8322
 
class-buddypress.php CHANGED
@@ -303,7 +303,7 @@ class BuddyPress {
303
 
304
  /** Versions **********************************************************/
305
 
306
- $this->version = '5.0.0';
307
  $this->db_version = 12385;
308
 
309
  /** Loading ***********************************************************/
303
 
304
  /** Versions **********************************************************/
305
 
306
+ $this->version = '5.1.0-beta1';
307
  $this->db_version = 12385;
308
 
309
  /** Loading ***********************************************************/
readme.txt CHANGED
@@ -34,7 +34,6 @@ WordPress.org is home to some amazing extensions for BuddyPress, including:
34
 
35
  - [rtMedia for WordPress, BuddyPress and bbPress](https://wordpress.org/plugins/buddypress-media/)
36
  - [BuddyPress Docs](https://wordpress.org/plugins/buddypress-docs/)
37
- - [BuddyPress Activity Plus](https://wordpress.org/plugins/buddypress-activity-plus/)
38
 
39
  Search WordPress.org for "BuddyPress" to find them all!
40
 
34
 
35
  - [rtMedia for WordPress, BuddyPress and bbPress](https://wordpress.org/plugins/buddypress-media/)
36
  - [BuddyPress Docs](https://wordpress.org/plugins/buddypress-docs/)
 
37
 
38
  Search WordPress.org for "BuddyPress" to find them all!
39