Version Description
See: https://codex.buddypress.org/releases/version-7-1-0/
Download this release
Release Info
Developer | imath |
Plugin | BuddyPress |
Version | 7.1.0 |
Comparing to | |
See all releases |
Code changes from version 7.0.0 to 7.1.0
- bp-core/admin/bp-core-admin-tools.php +5 -1
- bp-groups/bp-groups-admin.php +2 -2
- bp-loader.php +1 -1
- bp-members/bp-members-admin.php +1 -1
- buddypress.pot +26 -25
- class-buddypress.php +1 -1
- readme.txt +7 -1
bp-core/admin/bp-core-admin-tools.php
CHANGED
@@ -144,7 +144,7 @@ function bp_admin_repair_list() {
|
|
144 |
'bp_admin_repair_blog_records',
|
145 |
);
|
146 |
|
147 |
-
if ( bp_is_active( 'blogs', 'site-icon' ) ) {
|
148 |
$repair_list[91] = array(
|
149 |
'bp-blog-site-icons',
|
150 |
__( 'Repair site tracking site icons/blog avatars synchronization.', 'buddypress' ),
|
@@ -332,6 +332,10 @@ function bp_admin_repair_blog_site_icons() {
|
|
332 |
/* translators: %s: the result of the action performed by the repair tool */
|
333 |
$statement = __( 'Repairing site icons/blog avatars synchronization… %s', 'buddypress' );
|
334 |
|
|
|
|
|
|
|
|
|
335 |
// Run function if blogs component is active.
|
336 |
if ( bp_is_active( 'blogs', 'site-icon' ) ) {
|
337 |
$blog_ids = get_sites(
|
144 |
'bp_admin_repair_blog_records',
|
145 |
);
|
146 |
|
147 |
+
if ( is_multisite() && bp_is_active( 'blogs', 'site-icon' ) ) {
|
148 |
$repair_list[91] = array(
|
149 |
'bp-blog-site-icons',
|
150 |
__( 'Repair site tracking site icons/blog avatars synchronization.', 'buddypress' ),
|
332 |
/* translators: %s: the result of the action performed by the repair tool */
|
333 |
$statement = __( 'Repairing site icons/blog avatars synchronization… %s', 'buddypress' );
|
334 |
|
335 |
+
if ( ! is_multisite() ) {
|
336 |
+
return array( 0, sprintf( $statement, __( 'Failed!', 'buddypress' ) ) );
|
337 |
+
}
|
338 |
+
|
339 |
// Run function if blogs component is active.
|
340 |
if ( bp_is_active( 'blogs', 'site-icon' ) ) {
|
341 |
$blog_ids = get_sites(
|
bp-groups/bp-groups-admin.php
CHANGED
@@ -65,7 +65,7 @@ function bp_groups_admin_types_menu() {
|
|
65 |
return;
|
66 |
}
|
67 |
|
68 |
-
if ( bp_is_network_activated() && is_network_admin() ) {
|
69 |
// Adds a 'bp-groups' submenu to go to the root blog Group types screen.
|
70 |
$group_type_admin_url = add_query_arg( 'taxonomy', 'bp_group_type', get_admin_url( bp_get_root_blog_id(), 'edit-tags.php' ) );
|
71 |
add_submenu_page(
|
@@ -76,7 +76,7 @@ function bp_groups_admin_types_menu() {
|
|
76 |
esc_url( $group_type_admin_url )
|
77 |
);
|
78 |
} elseif ( ! is_network_admin() ) {
|
79 |
-
if ( bp_is_network_activated() ) {
|
80 |
// Adds a 'bp-groups' menu to the root blog menu.
|
81 |
$redirect_hook = add_menu_page(
|
82 |
_x( 'Groups', 'Admin Groups page title', 'buddypress' ),
|
65 |
return;
|
66 |
}
|
67 |
|
68 |
+
if ( bp_is_network_activated() && ! bp_is_multiblog_mode() && is_network_admin() ) {
|
69 |
// Adds a 'bp-groups' submenu to go to the root blog Group types screen.
|
70 |
$group_type_admin_url = add_query_arg( 'taxonomy', 'bp_group_type', get_admin_url( bp_get_root_blog_id(), 'edit-tags.php' ) );
|
71 |
add_submenu_page(
|
76 |
esc_url( $group_type_admin_url )
|
77 |
);
|
78 |
} elseif ( ! is_network_admin() ) {
|
79 |
+
if ( bp_is_network_activated() && ! bp_is_multiblog_mode() ) {
|
80 |
// Adds a 'bp-groups' menu to the root blog menu.
|
81 |
$redirect_hook = add_menu_page(
|
82 |
_x( 'Groups', 'Admin Groups page title', 'buddypress' ),
|
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: 7.
|
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: 7.1.0
|
19 |
* Text Domain: buddypress
|
20 |
* Domain Path: /bp-languages/
|
21 |
* License: GPLv2 or later (license.txt)
|
bp-members/bp-members-admin.php
CHANGED
@@ -23,7 +23,7 @@ function bp_members_type_admin_menu() {
|
|
23 |
return;
|
24 |
}
|
25 |
|
26 |
-
if ( bp_is_network_activated() && is_network_admin() ) {
|
27 |
// Adds a users.php submenu to go to the root blog Member types screen.
|
28 |
$member_type_admin_url = add_query_arg( 'taxonomy', bp_get_member_type_tax_name(), get_admin_url( bp_get_root_blog_id(), 'edit-tags.php' ) );
|
29 |
|
23 |
return;
|
24 |
}
|
25 |
|
26 |
+
if ( bp_is_network_activated() && ! bp_is_multiblog_mode() && is_network_admin() ) {
|
27 |
// Adds a users.php submenu to go to the root blog Member types screen.
|
28 |
$member_type_admin_url = add_query_arg( 'taxonomy', bp_get_member_type_tax_name(), get_admin_url( bp_get_root_blog_id(), 'edit-tags.php' ) );
|
29 |
|
buddypress.pot
CHANGED
@@ -9,14 +9,14 @@ 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-12-
|
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"
|
16 |
|
17 |
#. Plugin Name of the plugin
|
18 |
#: bp-core/admin/bp-core-admin-functions.php:1301
|
19 |
-
#: bp-core/admin/bp-core-admin-tools.php:
|
20 |
#: bp-core/classes/class-bp-admin.php:213
|
21 |
#: bp-core/classes/class-bp-admin.php:214
|
22 |
#: bp-core/classes/class-bp-admin.php:234
|
@@ -734,7 +734,7 @@ msgstr ""
|
|
734 |
|
735 |
#: bp-activity/bp-activity-notifications.php:402
|
736 |
#: bp-blogs/bp-blogs-template.php:1183
|
737 |
-
#: bp-core/admin/bp-core-admin-tools.php:
|
738 |
#: bp-core/classes/class-bp-admin-types.php:431
|
739 |
#: bp-friends/bp-friends-functions.php:962
|
740 |
#: bp-friends/bp-friends-notifications.php:256
|
@@ -748,7 +748,7 @@ msgstr ""
|
|
748 |
|
749 |
#: bp-activity/bp-activity-notifications.php:403
|
750 |
#: bp-blogs/bp-blogs-template.php:1190
|
751 |
-
#: bp-core/admin/bp-core-admin-tools.php:
|
752 |
#: bp-friends/bp-friends-functions.php:962
|
753 |
#: bp-friends/bp-friends-notifications.php:257
|
754 |
#: bp-groups/bp-groups-notifications.php:1144
|
@@ -2225,8 +2225,8 @@ msgid "Registration is currently disabled. Before associating a page is allowed
|
|
2225 |
msgstr ""
|
2226 |
|
2227 |
#: bp-core/admin/bp-core-admin-tools.php:22
|
2228 |
-
#: bp-core/admin/bp-core-admin-tools.php:
|
2229 |
-
#: bp-core/admin/bp-core-admin-tools.php:
|
2230 |
#: bp-core/classes/class-bp-admin.php:297
|
2231 |
msgid "BuddyPress Tools"
|
2232 |
msgstr ""
|
@@ -2299,15 +2299,16 @@ msgstr ""
|
|
2299 |
#: bp-core/admin/bp-core-admin-tools.php:200
|
2300 |
#: bp-core/admin/bp-core-admin-tools.php:259
|
2301 |
#: bp-core/admin/bp-core-admin-tools.php:304
|
|
|
2302 |
msgid "Failed!"
|
2303 |
msgstr ""
|
2304 |
|
2305 |
#: bp-core/admin/bp-core-admin-tools.php:240
|
2306 |
#: bp-core/admin/bp-core-admin-tools.php:288
|
2307 |
#: bp-core/admin/bp-core-admin-tools.php:316
|
2308 |
-
#: bp-core/admin/bp-core-admin-tools.php:
|
2309 |
-
#: bp-core/admin/bp-core-admin-tools.php:
|
2310 |
-
#: bp-core/admin/bp-core-admin-tools.php:
|
2311 |
msgid "Complete!"
|
2312 |
msgstr ""
|
2313 |
|
@@ -2327,74 +2328,74 @@ msgid "Repairing site icons/blog avatars synchronization… %s"
|
|
2327 |
msgstr ""
|
2328 |
|
2329 |
#. translators: %s: the result of the action performed by the repair tool
|
2330 |
-
#: bp-core/admin/bp-core-admin-tools.php:
|
2331 |
msgid "Counting the number of active members on the site… %s"
|
2332 |
msgstr ""
|
2333 |
|
2334 |
#. translators: %s: the result of the action performed by the repair tool
|
2335 |
-
#: bp-core/admin/bp-core-admin-tools.php:
|
2336 |
msgid "Determining last activity dates for each user… %s"
|
2337 |
msgstr ""
|
2338 |
|
2339 |
#. translators: %s: the result of the action performed by the repair tool
|
2340 |
-
#: bp-core/admin/bp-core-admin-tools.php:
|
2341 |
msgid "Creating the Invitations database table if it does not exist… %s"
|
2342 |
msgstr ""
|
2343 |
|
2344 |
-
#: bp-core/admin/bp-core-admin-tools.php:
|
2345 |
msgid "Failed to create table!"
|
2346 |
msgstr ""
|
2347 |
|
2348 |
-
#: bp-core/admin/bp-core-admin-tools.php:
|
2349 |
msgid "Created invitations table!"
|
2350 |
msgstr ""
|
2351 |
|
2352 |
#. translators: %s: the result of the action performed by the repair tool
|
2353 |
-
#: bp-core/admin/bp-core-admin-tools.php:
|
2354 |
msgid "Migrating group invitations… %s"
|
2355 |
msgstr ""
|
2356 |
|
2357 |
-
#: bp-core/admin/bp-core-admin-tools.php:
|
2358 |
msgid "Failed to migrate invitations!"
|
2359 |
msgstr ""
|
2360 |
|
2361 |
-
#: bp-core/admin/bp-core-admin-tools.php:
|
2362 |
msgid "Migrated invitations!"
|
2363 |
msgstr ""
|
2364 |
|
2365 |
-
#: bp-core/admin/bp-core-admin-tools.php:
|
2366 |
#: bp-core/classes/class-bp-admin.php:274
|
2367 |
#: bp-core/classes/class-bp-admin.php:275
|
2368 |
msgid "Tools"
|
2369 |
msgstr ""
|
2370 |
|
2371 |
-
#: bp-core/admin/bp-core-admin-tools.php:
|
2372 |
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."
|
2373 |
msgstr ""
|
2374 |
|
2375 |
#. translators: %s: the link to the BuddyPress repair tools
|
2376 |
-
#: bp-core/admin/bp-core-admin-tools.php:
|
2377 |
msgctxt "buddypress tools intro"
|
2378 |
msgid "Use the %s to repair these relationships."
|
2379 |
msgstr ""
|
2380 |
|
2381 |
-
#: bp-core/admin/bp-core-admin-tools.php:
|
2382 |
msgid "Emails have been successfully reinstalled."
|
2383 |
msgstr ""
|
2384 |
|
2385 |
-
#: bp-core/admin/bp-core-admin-tools.php:
|
2386 |
msgid "It looks like you have more sites to record. Resume recording by checking the \"Repopulate site tracking records\" option."
|
2387 |
msgstr ""
|
2388 |
|
2389 |
-
#: bp-core/admin/bp-core-admin-tools.php:
|
2390 |
msgid "Version"
|
2391 |
msgstr ""
|
2392 |
|
2393 |
-
#: bp-core/admin/bp-core-admin-tools.php:
|
2394 |
msgid "Active components"
|
2395 |
msgstr ""
|
2396 |
|
2397 |
-
#: bp-core/admin/bp-core-admin-tools.php:
|
2398 |
msgid "Active template pack"
|
2399 |
msgstr ""
|
2400 |
|
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-12-21T21:01:27+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"
|
16 |
|
17 |
#. Plugin Name of the plugin
|
18 |
#: bp-core/admin/bp-core-admin-functions.php:1301
|
19 |
+
#: bp-core/admin/bp-core-admin-tools.php:691
|
20 |
#: bp-core/classes/class-bp-admin.php:213
|
21 |
#: bp-core/classes/class-bp-admin.php:214
|
22 |
#: bp-core/classes/class-bp-admin.php:234
|
734 |
|
735 |
#: bp-activity/bp-activity-notifications.php:402
|
736 |
#: bp-blogs/bp-blogs-template.php:1183
|
737 |
+
#: bp-core/admin/bp-core-admin-tools.php:671
|
738 |
#: bp-core/classes/class-bp-admin-types.php:431
|
739 |
#: bp-friends/bp-friends-functions.php:962
|
740 |
#: bp-friends/bp-friends-notifications.php:256
|
748 |
|
749 |
#: bp-activity/bp-activity-notifications.php:403
|
750 |
#: bp-blogs/bp-blogs-template.php:1190
|
751 |
+
#: bp-core/admin/bp-core-admin-tools.php:673
|
752 |
#: bp-friends/bp-friends-functions.php:962
|
753 |
#: bp-friends/bp-friends-notifications.php:257
|
754 |
#: bp-groups/bp-groups-notifications.php:1144
|
2225 |
msgstr ""
|
2226 |
|
2227 |
#: bp-core/admin/bp-core-admin-tools.php:22
|
2228 |
+
#: bp-core/admin/bp-core-admin-tools.php:545
|
2229 |
+
#: bp-core/admin/bp-core-admin-tools.php:552
|
2230 |
#: bp-core/classes/class-bp-admin.php:297
|
2231 |
msgid "BuddyPress Tools"
|
2232 |
msgstr ""
|
2299 |
#: bp-core/admin/bp-core-admin-tools.php:200
|
2300 |
#: bp-core/admin/bp-core-admin-tools.php:259
|
2301 |
#: bp-core/admin/bp-core-admin-tools.php:304
|
2302 |
+
#: bp-core/admin/bp-core-admin-tools.php:336
|
2303 |
msgid "Failed!"
|
2304 |
msgstr ""
|
2305 |
|
2306 |
#: bp-core/admin/bp-core-admin-tools.php:240
|
2307 |
#: bp-core/admin/bp-core-admin-tools.php:288
|
2308 |
#: bp-core/admin/bp-core-admin-tools.php:316
|
2309 |
+
#: bp-core/admin/bp-core-admin-tools.php:377
|
2310 |
+
#: bp-core/admin/bp-core-admin-tools.php:390
|
2311 |
+
#: bp-core/admin/bp-core-admin-tools.php:404
|
2312 |
msgid "Complete!"
|
2313 |
msgstr ""
|
2314 |
|
2328 |
msgstr ""
|
2329 |
|
2330 |
#. translators: %s: the result of the action performed by the repair tool
|
2331 |
+
#: bp-core/admin/bp-core-admin-tools.php:387
|
2332 |
msgid "Counting the number of active members on the site… %s"
|
2333 |
msgstr ""
|
2334 |
|
2335 |
#. translators: %s: the result of the action performed by the repair tool
|
2336 |
+
#: bp-core/admin/bp-core-admin-tools.php:402
|
2337 |
msgid "Determining last activity dates for each user… %s"
|
2338 |
msgstr ""
|
2339 |
|
2340 |
#. translators: %s: the result of the action performed by the repair tool
|
2341 |
+
#: bp-core/admin/bp-core-admin-tools.php:422
|
2342 |
msgid "Creating the Invitations database table if it does not exist… %s"
|
2343 |
msgstr ""
|
2344 |
|
2345 |
+
#: bp-core/admin/bp-core-admin-tools.php:423
|
2346 |
msgid "Failed to create table!"
|
2347 |
msgstr ""
|
2348 |
|
2349 |
+
#: bp-core/admin/bp-core-admin-tools.php:434
|
2350 |
msgid "Created invitations table!"
|
2351 |
msgstr ""
|
2352 |
|
2353 |
#. translators: %s: the result of the action performed by the repair tool
|
2354 |
+
#: bp-core/admin/bp-core-admin-tools.php:442
|
2355 |
msgid "Migrating group invitations… %s"
|
2356 |
msgstr ""
|
2357 |
|
2358 |
+
#: bp-core/admin/bp-core-admin-tools.php:443
|
2359 |
msgid "Failed to migrate invitations!"
|
2360 |
msgstr ""
|
2361 |
|
2362 |
+
#: bp-core/admin/bp-core-admin-tools.php:450
|
2363 |
msgid "Migrated invitations!"
|
2364 |
msgstr ""
|
2365 |
|
2366 |
+
#: bp-core/admin/bp-core-admin-tools.php:515
|
2367 |
#: bp-core/classes/class-bp-admin.php:274
|
2368 |
#: bp-core/classes/class-bp-admin.php:275
|
2369 |
msgid "Tools"
|
2370 |
msgstr ""
|
2371 |
|
2372 |
+
#: bp-core/admin/bp-core-admin-tools.php:547
|
2373 |
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."
|
2374 |
msgstr ""
|
2375 |
|
2376 |
#. translators: %s: the link to the BuddyPress repair tools
|
2377 |
+
#: bp-core/admin/bp-core-admin-tools.php:551
|
2378 |
msgctxt "buddypress tools intro"
|
2379 |
msgid "Use the %s to repair these relationships."
|
2380 |
msgstr ""
|
2381 |
|
2382 |
+
#: bp-core/admin/bp-core-admin-tools.php:612
|
2383 |
msgid "Emails have been successfully reinstalled."
|
2384 |
msgstr ""
|
2385 |
|
2386 |
+
#: bp-core/admin/bp-core-admin-tools.php:632
|
2387 |
msgid "It looks like you have more sites to record. Resume recording by checking the \"Repopulate site tracking records\" option."
|
2388 |
msgstr ""
|
2389 |
|
2390 |
+
#: bp-core/admin/bp-core-admin-tools.php:695
|
2391 |
msgid "Version"
|
2392 |
msgstr ""
|
2393 |
|
2394 |
+
#: bp-core/admin/bp-core-admin-tools.php:699
|
2395 |
msgid "Active components"
|
2396 |
msgstr ""
|
2397 |
|
2398 |
+
#: bp-core/admin/bp-core-admin-tools.php:703
|
2399 |
msgid "Active template pack"
|
2400 |
msgstr ""
|
2401 |
|
class-buddypress.php
CHANGED
@@ -303,7 +303,7 @@ class BuddyPress {
|
|
303 |
|
304 |
/** Versions **********************************************************/
|
305 |
|
306 |
-
$this->version = '7.
|
307 |
$this->db_version = 12385;
|
308 |
|
309 |
/** Loading ***********************************************************/
|
303 |
|
304 |
/** Versions **********************************************************/
|
305 |
|
306 |
+
$this->version = '7.1.0';
|
307 |
$this->db_version = 12385;
|
308 |
|
309 |
/** Loading ***********************************************************/
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
|
6 |
Requires at least: 4.9
|
7 |
Requires PHP: 5.6
|
8 |
Tested up to: 5.6
|
9 |
-
Stable tag: 7.
|
10 |
|
11 |
BuddyPress helps site builders & developers add community features to their websites, with user profiles, activity streams, and more!
|
12 |
|
@@ -125,6 +125,9 @@ Try <a href="https://wordpress.org/plugins/bbpress/">bbPress</a>. It integrates
|
|
125 |
|
126 |
== Upgrade Notice ==
|
127 |
|
|
|
|
|
|
|
128 |
= 7.0.0 =
|
129 |
See: https://codex.buddypress.org/releases/version-7-0-0/
|
130 |
|
@@ -175,6 +178,9 @@ See: https://codex.buddypress.org/releases/version-4-0-0/
|
|
175 |
|
176 |
== Changelog ==
|
177 |
|
|
|
|
|
|
|
178 |
= 7.0.0 =
|
179 |
See: https://codex.buddypress.org/releases/version-7-0-0/
|
180 |
|
6 |
Requires at least: 4.9
|
7 |
Requires PHP: 5.6
|
8 |
Tested up to: 5.6
|
9 |
+
Stable tag: 7.1.0
|
10 |
|
11 |
BuddyPress helps site builders & developers add community features to their websites, with user profiles, activity streams, and more!
|
12 |
|
125 |
|
126 |
== Upgrade Notice ==
|
127 |
|
128 |
+
= 7.1.0 =
|
129 |
+
See: https://codex.buddypress.org/releases/version-7-1-0/
|
130 |
+
|
131 |
= 7.0.0 =
|
132 |
See: https://codex.buddypress.org/releases/version-7-0-0/
|
133 |
|
178 |
|
179 |
== Changelog ==
|
180 |
|
181 |
+
= 7.1.0 =
|
182 |
+
See: https://codex.buddypress.org/releases/version-7-1-0/
|
183 |
+
|
184 |
= 7.0.0 =
|
185 |
See: https://codex.buddypress.org/releases/version-7-0-0/
|
186 |
|