Version Description
See: https://codex.buddypress.org/releases/version-6-2-0/
Download this release
Release Info
Developer | imath |
Plugin | BuddyPress |
Version | 6.2.0 |
Comparing to | |
See all releases |
Code changes from version 6.2.0-beta1 to 6.2.0
- bp-core/bp-core-moderation.php +6 -2
- bp-loader.php +1 -1
- buddypress.pot +2 -2
- class-buddypress.php +1 -1
- readme.txt +8 -2
bp-core/bp-core-moderation.php
CHANGED
@@ -190,7 +190,7 @@ function bp_core_check_for_moderation( $user_id = 0, $title = '', $content = '',
|
|
190 |
* @since 1.6.0
|
191 |
* @since 2.6.0 Added $error_type parameter.
|
192 |
*
|
193 |
-
* @todo Why don't we use
|
194 |
*
|
195 |
* @param int $user_id User ID.
|
196 |
* @param string $title The title of the content.
|
@@ -224,9 +224,13 @@ function bp_core_check_for_blacklist( $user_id = 0, $title = '', $content = '',
|
|
224 |
|
225 |
/** Blacklist ************************************************************
|
226 |
*/
|
|
|
|
|
|
|
|
|
227 |
|
228 |
// Get the moderation keys.
|
229 |
-
$blacklist = trim( get_option(
|
230 |
|
231 |
// Bail if blacklist is empty.
|
232 |
if ( empty( $blacklist ) ) {
|
190 |
* @since 1.6.0
|
191 |
* @since 2.6.0 Added $error_type parameter.
|
192 |
*
|
193 |
+
* @todo Why don't we use wp_check_comment_disallowed_list() for this?
|
194 |
*
|
195 |
* @param int $user_id User ID.
|
196 |
* @param string $title The title of the content.
|
224 |
|
225 |
/** Blacklist ************************************************************
|
226 |
*/
|
227 |
+
$disallowed_keys_option_name = 'blacklist_keys';
|
228 |
+
if ( function_exists( 'wp_check_comment_disallowed_list' ) ) {
|
229 |
+
$disallowed_keys_option_name = 'disallowed_keys';
|
230 |
+
}
|
231 |
|
232 |
// Get the moderation keys.
|
233 |
+
$blacklist = trim( get_option( $disallowed_keys_option_name ) );
|
234 |
|
235 |
// Bail if blacklist is empty.
|
236 |
if ( empty( $blacklist ) ) {
|
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.2.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: 6.2.0
|
19 |
* Text Domain: buddypress
|
20 |
* Domain Path: /bp-languages/
|
21 |
* License: GPLv2 or later (license.txt)
|
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-
|
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"
|
@@ -3499,7 +3499,7 @@ msgctxt "Comment moderation"
|
|
3499 |
msgid "You have posted an inappropriate word."
|
3500 |
msgstr ""
|
3501 |
|
3502 |
-
#: bp-core/bp-core-moderation.php:
|
3503 |
msgctxt "Comment blacklist"
|
3504 |
msgid "You have posted an inappropriate word."
|
3505 |
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-08-06T20:59:51+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"
|
3499 |
msgid "You have posted an inappropriate word."
|
3500 |
msgstr ""
|
3501 |
|
3502 |
+
#: bp-core/bp-core-moderation.php:293
|
3503 |
msgctxt "Comment blacklist"
|
3504 |
msgid "You have posted an inappropriate word."
|
3505 |
msgstr ""
|
class-buddypress.php
CHANGED
@@ -303,7 +303,7 @@ class BuddyPress {
|
|
303 |
|
304 |
/** Versions **********************************************************/
|
305 |
|
306 |
-
$this->version = '6.2.0
|
307 |
$this->db_version = 12385;
|
308 |
|
309 |
/** Loading ***********************************************************/
|
303 |
|
304 |
/** Versions **********************************************************/
|
305 |
|
306 |
+
$this->version = '6.2.0';
|
307 |
$this->db_version = 12385;
|
308 |
|
309 |
/** Loading ***********************************************************/
|
readme.txt
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
Contributors: johnjamesjacoby, DJPaul, boonebgorges, r-a-y, imath, mercime, tw2113, dcavins, hnla, karmatosed, slaFFik, dimensionmedia, henrywright, netweb, offereins, espellcaste, modemlooper, danbp, Venutius, apeatling, shanebp
|
3 |
Tags: user profiles, activity streams, messaging, friends, user groups, notifications, community, social networking, intranet
|
4 |
Requires at least: 4.8
|
5 |
-
Tested up to: 5.
|
6 |
Requires PHP: 5.6
|
7 |
-
Stable tag: 6.
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -125,6 +125,9 @@ Try <a href="https://wordpress.org/plugins/bbpress/">bbPress</a>. It integrates
|
|
125 |
|
126 |
== Upgrade Notice ==
|
127 |
|
|
|
|
|
|
|
128 |
= 6.1.0 =
|
129 |
See: https://codex.buddypress.org/releases/version-6-1-0/
|
130 |
|
@@ -163,6 +166,9 @@ See: https://codex.buddypress.org/releases/version-4-0-0/
|
|
163 |
|
164 |
== Changelog ==
|
165 |
|
|
|
|
|
|
|
166 |
= 6.1.0 =
|
167 |
See: https://codex.buddypress.org/releases/version-6-1-0/
|
168 |
|
2 |
Contributors: johnjamesjacoby, DJPaul, boonebgorges, r-a-y, imath, mercime, tw2113, dcavins, hnla, karmatosed, slaFFik, dimensionmedia, henrywright, netweb, offereins, espellcaste, modemlooper, danbp, Venutius, apeatling, shanebp
|
3 |
Tags: user profiles, activity streams, messaging, friends, user groups, notifications, community, social networking, intranet
|
4 |
Requires at least: 4.8
|
5 |
+
Tested up to: 5.5.0
|
6 |
Requires PHP: 5.6
|
7 |
+
Stable tag: 6.2.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
125 |
|
126 |
== Upgrade Notice ==
|
127 |
|
128 |
+
= 6.2.0 =
|
129 |
+
See: https://codex.buddypress.org/releases/version-6-2-0/
|
130 |
+
|
131 |
= 6.1.0 =
|
132 |
See: https://codex.buddypress.org/releases/version-6-1-0/
|
133 |
|
166 |
|
167 |
== Changelog ==
|
168 |
|
169 |
+
= 6.2.0 =
|
170 |
+
See: https://codex.buddypress.org/releases/version-6-2-0/
|
171 |
+
|
172 |
= 6.1.0 =
|
173 |
See: https://codex.buddypress.org/releases/version-6-1-0/
|
174 |
|