Version Description
- Improved support for WordPress 4.7
- Improved localization of role names
- Increase minimum WordPress version to 4.2
Download this release
Release Info
Developer | johnjamesjacoby |
Plugin | bbPress |
Version | 2.5.11 |
Comparing to | |
See all releases |
Code changes from version 2.5.10 to 2.5.11
- bbpress.php +4 -3
- includes/admin/settings.php +1 -1
- includes/admin/users.php +3 -3
- includes/common/locale.php +57 -0
- includes/core/capabilities.php +6 -6
- includes/core/sub-actions.php +0 -8
- includes/core/template-functions.php +18 -12
- includes/users/template.php +2 -2
- languages/bbpress.pot +48 -42
- readme.txt +18 -3
bbpress.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
*
|
6 |
* bbPress is forum software with a twist from the creators of WordPress.
|
7 |
*
|
8 |
-
* $Id: bbpress.php
|
9 |
*
|
10 |
* @package bbPress
|
11 |
* @subpackage Main
|
@@ -17,7 +17,7 @@
|
|
17 |
* Description: bbPress is forum software with a twist from the creators of WordPress.
|
18 |
* Author: The bbPress Community
|
19 |
* Author URI: https://bbpress.org
|
20 |
-
* Version: 2.5.
|
21 |
* Text Domain: bbpress
|
22 |
* Domain Path: /languages/
|
23 |
*/
|
@@ -190,7 +190,7 @@ final class bbPress {
|
|
190 |
|
191 |
/** Versions **********************************************************/
|
192 |
|
193 |
-
$this->version = '2.5.
|
194 |
$this->db_version = '250';
|
195 |
|
196 |
/** Paths *************************************************************/
|
@@ -300,6 +300,7 @@ final class bbPress {
|
|
300 |
require( $this->includes_dir . 'common/classes.php' );
|
301 |
require( $this->includes_dir . 'common/functions.php' );
|
302 |
require( $this->includes_dir . 'common/formatting.php' );
|
|
|
303 |
require( $this->includes_dir . 'common/template.php' );
|
304 |
require( $this->includes_dir . 'common/widgets.php' );
|
305 |
require( $this->includes_dir . 'common/shortcodes.php' );
|
5 |
*
|
6 |
* bbPress is forum software with a twist from the creators of WordPress.
|
7 |
*
|
8 |
+
* $Id: bbpress.php 6122 2016-11-09 23:03:53Z johnjamesjacoby $
|
9 |
*
|
10 |
* @package bbPress
|
11 |
* @subpackage Main
|
17 |
* Description: bbPress is forum software with a twist from the creators of WordPress.
|
18 |
* Author: The bbPress Community
|
19 |
* Author URI: https://bbpress.org
|
20 |
+
* Version: 2.5.11
|
21 |
* Text Domain: bbpress
|
22 |
* Domain Path: /languages/
|
23 |
*/
|
190 |
|
191 |
/** Versions **********************************************************/
|
192 |
|
193 |
+
$this->version = '2.5.11-6121';
|
194 |
$this->db_version = '250';
|
195 |
|
196 |
/** Paths *************************************************************/
|
300 |
require( $this->includes_dir . 'common/classes.php' );
|
301 |
require( $this->includes_dir . 'common/functions.php' );
|
302 |
require( $this->includes_dir . 'common/formatting.php' );
|
303 |
+
require( $this->includes_dir . 'common/locale.php' );
|
304 |
require( $this->includes_dir . 'common/template.php' );
|
305 |
require( $this->includes_dir . 'common/widgets.php' );
|
306 |
require( $this->includes_dir . 'common/shortcodes.php' );
|
includes/admin/settings.php
CHANGED
@@ -521,7 +521,7 @@ function bbp_admin_setting_callback_global_access() {
|
|
521 |
<select name="_bbp_default_role" id="_bbp_default_role" <?php bbp_maybe_admin_setting_disabled( '_bbp_default_role' ); ?>>
|
522 |
<?php foreach ( bbp_get_dynamic_roles() as $role => $details ) : ?>
|
523 |
|
524 |
-
<option <?php selected( $default_role, $role ); ?> value="<?php echo esc_attr( $role ); ?>"><?php echo
|
525 |
|
526 |
<?php endforeach; ?>
|
527 |
</select>
|
521 |
<select name="_bbp_default_role" id="_bbp_default_role" <?php bbp_maybe_admin_setting_disabled( '_bbp_default_role' ); ?>>
|
522 |
<?php foreach ( bbp_get_dynamic_roles() as $role => $details ) : ?>
|
523 |
|
524 |
+
<option <?php selected( $default_role, $role ); ?> value="<?php echo esc_attr( $role ); ?>"><?php echo bbp_translate_user_role( $details['name'] ); ?></option>
|
525 |
|
526 |
<?php endforeach; ?>
|
527 |
</select>
|
includes/admin/users.php
CHANGED
@@ -103,7 +103,7 @@ class BBP_Users_Admin {
|
|
103 |
|
104 |
<?php foreach ( $dynamic_roles as $role => $details ) : ?>
|
105 |
|
106 |
-
<option <?php selected( $user_role, $role ); ?> value="<?php echo esc_attr( $role ); ?>"><?php echo
|
107 |
|
108 |
<?php endforeach; ?>
|
109 |
|
@@ -139,7 +139,7 @@ class BBP_Users_Admin {
|
|
139 |
<select name="bbp-new-role" id="bbp-new-role" style="display:inline-block; float:none;">
|
140 |
<option value=''><?php esc_html_e( 'Change forum role to…', 'bbpress' ) ?></option>
|
141 |
<?php foreach ( $dynamic_roles as $role => $details ) : ?>
|
142 |
-
<option value="<?php echo esc_attr( $role ); ?>"><?php echo
|
143 |
<?php endforeach; ?>
|
144 |
</select><?php submit_button( __( 'Change', 'bbpress' ), 'secondary', 'bbp-change-role', false );
|
145 |
|
@@ -243,7 +243,7 @@ class BBP_Users_Admin {
|
|
243 |
// Translate user role for display
|
244 |
if ( ! empty( $user_role ) ) {
|
245 |
$roles = bbp_get_dynamic_roles();
|
246 |
-
$retval =
|
247 |
}
|
248 |
}
|
249 |
|
103 |
|
104 |
<?php foreach ( $dynamic_roles as $role => $details ) : ?>
|
105 |
|
106 |
+
<option <?php selected( $user_role, $role ); ?> value="<?php echo esc_attr( $role ); ?>"><?php echo bbp_translate_user_role( $details['name'] ); ?></option>
|
107 |
|
108 |
<?php endforeach; ?>
|
109 |
|
139 |
<select name="bbp-new-role" id="bbp-new-role" style="display:inline-block; float:none;">
|
140 |
<option value=''><?php esc_html_e( 'Change forum role to…', 'bbpress' ) ?></option>
|
141 |
<?php foreach ( $dynamic_roles as $role => $details ) : ?>
|
142 |
+
<option value="<?php echo esc_attr( $role ); ?>"><?php echo bbp_translate_user_role( $details['name'] ); ?></option>
|
143 |
<?php endforeach; ?>
|
144 |
</select><?php submit_button( __( 'Change', 'bbpress' ), 'secondary', 'bbp-change-role', false );
|
145 |
|
243 |
// Translate user role for display
|
244 |
if ( ! empty( $user_role ) ) {
|
245 |
$roles = bbp_get_dynamic_roles();
|
246 |
+
$retval = bbp_translate_user_role( $roles[$user_role]['name'] );
|
247 |
}
|
248 |
}
|
249 |
|
includes/common/locale.php
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* bbPress Localization
|
5 |
+
*
|
6 |
+
* @package bbPress
|
7 |
+
* @subpackage Localization
|
8 |
+
*/
|
9 |
+
|
10 |
+
// Exit if accessed directly
|
11 |
+
defined( 'ABSPATH' ) || exit;
|
12 |
+
|
13 |
+
/**
|
14 |
+
* Translates role name.
|
15 |
+
*
|
16 |
+
* Since the role names are in the database and not in the source there
|
17 |
+
* are dummy gettext calls to get them into the POT file and this function
|
18 |
+
* properly translates them back.
|
19 |
+
*
|
20 |
+
* The before_last_bar() call is needed, because older installs keep the roles
|
21 |
+
* using the old context format: 'Role name|User role' and just skipping the
|
22 |
+
* content after the last bar is easier than fixing them in the DB. New installs
|
23 |
+
* won't suffer from that problem.
|
24 |
+
*
|
25 |
+
* @see translate_user_role()
|
26 |
+
*
|
27 |
+
* @since 2.6.0 bbPress
|
28 |
+
*
|
29 |
+
* @param string $name The role name.
|
30 |
+
* @return string Translated role name on success, original name on failure.
|
31 |
+
*/
|
32 |
+
function bbp_translate_user_role( $name ) {
|
33 |
+
return translate_with_gettext_context( before_last_bar( $name ), 'User role', 'bbpress' );
|
34 |
+
}
|
35 |
+
|
36 |
+
/**
|
37 |
+
* Dummy gettext calls to get strings in the catalog.
|
38 |
+
*
|
39 |
+
* @since 2.6.0 bbPress
|
40 |
+
*/
|
41 |
+
function bbp_dummy_role_names() {
|
42 |
+
|
43 |
+
/* translators: user role */
|
44 |
+
_x( 'Keymaster', 'User role', 'bbpress' );
|
45 |
+
|
46 |
+
/* translators: user role */
|
47 |
+
_x( 'Moderator', 'User role', 'bbpress' );
|
48 |
+
|
49 |
+
/* translators: user role */
|
50 |
+
_x( 'Participant', 'User role', 'bbpress' );
|
51 |
+
|
52 |
+
/* translators: user role */
|
53 |
+
_x( 'Spectator', 'User role', 'bbpress' );
|
54 |
+
|
55 |
+
/* translators: user role */
|
56 |
+
_x( 'Blocked', 'User role', 'bbpress' );
|
57 |
+
}
|
includes/core/capabilities.php
CHANGED
@@ -377,31 +377,31 @@ function bbp_get_dynamic_roles() {
|
|
377 |
|
378 |
// Keymaster
|
379 |
bbp_get_keymaster_role() => array(
|
380 |
-
'name' =>
|
381 |
'capabilities' => bbp_get_caps_for_role( bbp_get_keymaster_role() )
|
382 |
),
|
383 |
|
384 |
// Moderator
|
385 |
bbp_get_moderator_role() => array(
|
386 |
-
'name' =>
|
387 |
'capabilities' => bbp_get_caps_for_role( bbp_get_moderator_role() )
|
388 |
),
|
389 |
|
390 |
// Participant
|
391 |
bbp_get_participant_role() => array(
|
392 |
-
'name' =>
|
393 |
'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() )
|
394 |
),
|
395 |
|
396 |
// Spectator
|
397 |
bbp_get_spectator_role() => array(
|
398 |
-
'name' =>
|
399 |
'capabilities' => bbp_get_caps_for_role( bbp_get_spectator_role() )
|
400 |
),
|
401 |
|
402 |
// Blocked
|
403 |
bbp_get_blocked_role() => array(
|
404 |
-
'name' =>
|
405 |
'capabilities' => bbp_get_caps_for_role( bbp_get_blocked_role() )
|
406 |
)
|
407 |
) );
|
@@ -417,7 +417,7 @@ function bbp_get_dynamic_roles() {
|
|
417 |
*/
|
418 |
function bbp_get_dynamic_role_name( $role_id = '' ) {
|
419 |
$roles = bbp_get_dynamic_roles();
|
420 |
-
$role = isset( $roles[$role_id] ) ? $roles[$role_id]['name'] : '';
|
421 |
|
422 |
return apply_filters( 'bbp_get_dynamic_role_name', $role, $role_id, $roles );
|
423 |
}
|
377 |
|
378 |
// Keymaster
|
379 |
bbp_get_keymaster_role() => array(
|
380 |
+
'name' => 'Keymaster',
|
381 |
'capabilities' => bbp_get_caps_for_role( bbp_get_keymaster_role() )
|
382 |
),
|
383 |
|
384 |
// Moderator
|
385 |
bbp_get_moderator_role() => array(
|
386 |
+
'name' => 'Moderator',
|
387 |
'capabilities' => bbp_get_caps_for_role( bbp_get_moderator_role() )
|
388 |
),
|
389 |
|
390 |
// Participant
|
391 |
bbp_get_participant_role() => array(
|
392 |
+
'name' => 'Participant',
|
393 |
'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() )
|
394 |
),
|
395 |
|
396 |
// Spectator
|
397 |
bbp_get_spectator_role() => array(
|
398 |
+
'name' => 'Spectator',
|
399 |
'capabilities' => bbp_get_caps_for_role( bbp_get_spectator_role() )
|
400 |
),
|
401 |
|
402 |
// Blocked
|
403 |
bbp_get_blocked_role() => array(
|
404 |
+
'name' => 'Blocked',
|
405 |
'capabilities' => bbp_get_caps_for_role( bbp_get_blocked_role() )
|
406 |
)
|
407 |
) );
|
417 |
*/
|
418 |
function bbp_get_dynamic_role_name( $role_id = '' ) {
|
419 |
$roles = bbp_get_dynamic_roles();
|
420 |
+
$role = isset( $roles[$role_id] ) ? bbp_translate_user_role( $roles[$role_id]['name'] ) : '';
|
421 |
|
422 |
return apply_filters( 'bbp_get_dynamic_role_name', $role, $role_id, $roles );
|
423 |
}
|
includes/core/sub-actions.php
CHANGED
@@ -136,17 +136,9 @@ function bbp_widgets_init() {
|
|
136 |
* Setup the currently logged-in user
|
137 |
*
|
138 |
* @since bbPress (r2695)
|
139 |
-
* @uses did_action() To make sure the user isn't loaded out of order
|
140 |
* @uses do_action() Calls 'bbp_setup_current_user'
|
141 |
*/
|
142 |
function bbp_setup_current_user() {
|
143 |
-
|
144 |
-
// If the current user is being setup before the "init" action has fired,
|
145 |
-
// strange (and difficult to debug) role/capability issues will occur.
|
146 |
-
if ( ! did_action( 'after_setup_theme' ) ) {
|
147 |
-
_doing_it_wrong( __FUNCTION__, __( 'The current user is being initialized without using $wp->init().', 'bbpress' ), '2.3' );
|
148 |
-
}
|
149 |
-
|
150 |
do_action( 'bbp_setup_current_user' );
|
151 |
}
|
152 |
|
136 |
* Setup the currently logged-in user
|
137 |
*
|
138 |
* @since bbPress (r2695)
|
|
|
139 |
* @uses do_action() Calls 'bbp_setup_current_user'
|
140 |
*/
|
141 |
function bbp_setup_current_user() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
do_action( 'bbp_setup_current_user' );
|
143 |
}
|
144 |
|
includes/core/template-functions.php
CHANGED
@@ -308,32 +308,38 @@ function bbp_get_template_stack() {
|
|
308 |
$tag = 'bbp_template_stack';
|
309 |
$args = $stack = array();
|
310 |
|
311 |
-
// Add 'bbp_template_stack' to the current filter array
|
312 |
$wp_current_filter[] = $tag;
|
313 |
|
314 |
-
// Sort
|
315 |
-
if (
|
316 |
-
|
317 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
318 |
}
|
319 |
|
320 |
-
// Ensure we're always at the beginning of the filter array
|
321 |
-
reset( $
|
322 |
|
323 |
-
// Loop through 'bbp_template_stack' filters, and call callback functions
|
324 |
do {
|
325 |
-
foreach
|
326 |
if ( ! is_null( $the_['function'] ) ) {
|
327 |
$args[1] = $stack;
|
328 |
$stack[] = call_user_func_array( $the_['function'], array_slice( $args, 1, (int) $the_['accepted_args'] ) );
|
329 |
}
|
330 |
}
|
331 |
-
} while ( next( $
|
332 |
|
333 |
-
// Remove 'bbp_template_stack' from the current filter array
|
334 |
array_pop( $wp_current_filter );
|
335 |
|
336 |
-
// Remove empties and duplicates
|
337 |
$stack = array_unique( array_filter( $stack ) );
|
338 |
|
339 |
return (array) apply_filters( 'bbp_get_template_stack', $stack ) ;
|
308 |
$tag = 'bbp_template_stack';
|
309 |
$args = $stack = array();
|
310 |
|
311 |
+
// Add 'bbp_template_stack' to the current filter array.
|
312 |
$wp_current_filter[] = $tag;
|
313 |
|
314 |
+
// Sort.
|
315 |
+
if ( class_exists( 'WP_Hook' ) ) {
|
316 |
+
$filter = $wp_filter[ $tag ]->callbacks;
|
317 |
+
} else {
|
318 |
+
$filter = &$wp_filter[ $tag ];
|
319 |
+
|
320 |
+
if ( ! isset( $merged_filters[ $tag ] ) ) {
|
321 |
+
ksort( $filter );
|
322 |
+
$merged_filters[ $tag ] = true;
|
323 |
+
}
|
324 |
}
|
325 |
|
326 |
+
// Ensure we're always at the beginning of the filter array.
|
327 |
+
reset( $filter );
|
328 |
|
329 |
+
// Loop through 'bbp_template_stack' filters, and call callback functions.
|
330 |
do {
|
331 |
+
foreach( (array) current( $filter ) as $the_ ) {
|
332 |
if ( ! is_null( $the_['function'] ) ) {
|
333 |
$args[1] = $stack;
|
334 |
$stack[] = call_user_func_array( $the_['function'], array_slice( $args, 1, (int) $the_['accepted_args'] ) );
|
335 |
}
|
336 |
}
|
337 |
+
} while ( next( $filter ) !== false );
|
338 |
|
339 |
+
// Remove 'bbp_template_stack' from the current filter array.
|
340 |
array_pop( $wp_current_filter );
|
341 |
|
342 |
+
// Remove empties and duplicates.
|
343 |
$stack = array_unique( array_filter( $stack ) );
|
344 |
|
345 |
return (array) apply_filters( 'bbp_get_template_stack', $stack ) ;
|
includes/users/template.php
CHANGED
@@ -1256,7 +1256,7 @@ function bbp_edit_user_blog_role() {
|
|
1256 |
|
1257 |
<?php foreach ( $blog_roles as $role => $details ) : ?>
|
1258 |
|
1259 |
-
<option <?php selected( $user_role, $role ); ?> value="<?php echo esc_attr( $role ); ?>"><?php echo
|
1260 |
|
1261 |
<?php endforeach; ?>
|
1262 |
|
@@ -1291,7 +1291,7 @@ function bbp_edit_user_forums_role() {
|
|
1291 |
|
1292 |
<?php foreach ( $dynamic_roles as $role => $details ) : ?>
|
1293 |
|
1294 |
-
<option <?php selected( $user_role, $role ); ?> value="<?php echo esc_attr( $role ); ?>"><?php echo
|
1295 |
|
1296 |
<?php endforeach; ?>
|
1297 |
|
1256 |
|
1257 |
<?php foreach ( $blog_roles as $role => $details ) : ?>
|
1258 |
|
1259 |
+
<option <?php selected( $user_role, $role ); ?> value="<?php echo esc_attr( $role ); ?>"><?php echo bbp_translate_user_role( $details['name'] ); ?></option>
|
1260 |
|
1261 |
<?php endforeach; ?>
|
1262 |
|
1291 |
|
1292 |
<?php foreach ( $dynamic_roles as $role => $details ) : ?>
|
1293 |
|
1294 |
+
<option <?php selected( $user_role, $role ); ?> value="<?php echo esc_attr( $role ); ?>"><?php echo bbp_translate_user_role( $details['name'] ); ?></option>
|
1295 |
|
1296 |
<?php endforeach; ?>
|
1297 |
|
languages/bbpress.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the same license as the bbPress package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: bbPress 2.5.
|
6 |
"Report-Msgid-Bugs-To: https://bbpress.trac.wordpress.org\n"
|
7 |
-
"POT-Creation-Date: 2016-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -16,75 +16,75 @@ msgstr ""
|
|
16 |
msgid "Cheatin’ huh?"
|
17 |
msgstr ""
|
18 |
|
19 |
-
#: bbpress.php:
|
20 |
msgid "bbPress Default"
|
21 |
msgstr ""
|
22 |
|
23 |
-
#: bbpress.php:
|
24 |
msgid "bbPress Forums"
|
25 |
msgstr ""
|
26 |
|
27 |
-
#: bbpress.php:
|
28 |
msgid "bbPress Topics"
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: bbpress.php:
|
32 |
msgid "bbPress Replies"
|
33 |
msgstr ""
|
34 |
|
35 |
-
#: bbpress.php:
|
36 |
msgctxt "post"
|
37 |
msgid "Closed"
|
38 |
msgstr ""
|
39 |
|
40 |
-
#: bbpress.php:
|
41 |
msgctxt "post"
|
42 |
msgid "Closed <span class=\"count\">(%s)</span>"
|
43 |
msgid_plural "Closed <span class=\"count\">(%s)</span>"
|
44 |
msgstr[0] ""
|
45 |
msgstr[1] ""
|
46 |
|
47 |
-
#: bbpress.php:
|
48 |
msgctxt "post"
|
49 |
msgid "Spam"
|
50 |
msgstr ""
|
51 |
|
52 |
-
#: bbpress.php:
|
53 |
msgctxt "post"
|
54 |
msgid "Spam <span class=\"count\">(%s)</span>"
|
55 |
msgid_plural "Spam <span class=\"count\">(%s)</span>"
|
56 |
msgstr[0] ""
|
57 |
msgstr[1] ""
|
58 |
|
59 |
-
#: bbpress.php:
|
60 |
msgctxt "post"
|
61 |
msgid "Orphan"
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: bbpress.php:
|
65 |
msgctxt "post"
|
66 |
msgid "Orphan <span class=\"count\">(%s)</span>"
|
67 |
msgid_plural "Orphans <span class=\"count\">(%s)</span>"
|
68 |
msgstr[0] ""
|
69 |
msgstr[1] ""
|
70 |
|
71 |
-
#: bbpress.php:
|
72 |
msgctxt "post"
|
73 |
msgid "Hidden"
|
74 |
msgstr ""
|
75 |
|
76 |
-
#: bbpress.php:
|
77 |
msgctxt "post"
|
78 |
msgid "Hidden <span class=\"count\">(%s)</span>"
|
79 |
msgid_plural "Hidden <span class=\"count\">(%s)</span>"
|
80 |
msgstr[0] ""
|
81 |
msgstr[1] ""
|
82 |
|
83 |
-
#: bbpress.php:
|
84 |
msgid "Most popular topics"
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: bbpress.php:
|
88 |
msgid "Topics with no replies"
|
89 |
msgstr ""
|
90 |
|
@@ -2706,6 +2706,36 @@ msgid ""
|
|
2706 |
"they always return false."
|
2707 |
msgstr ""
|
2708 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2709 |
#: includes/common/template.php:1457
|
2710 |
msgid "No topics available"
|
2711 |
msgstr ""
|
@@ -3013,34 +3043,10 @@ msgstr ""
|
|
3013 |
msgid "Recent Replies"
|
3014 |
msgstr ""
|
3015 |
|
3016 |
-
#: includes/core/capabilities.php:380
|
3017 |
-
msgid "Keymaster"
|
3018 |
-
msgstr ""
|
3019 |
-
|
3020 |
-
#: includes/core/capabilities.php:386
|
3021 |
-
msgid "Moderator"
|
3022 |
-
msgstr ""
|
3023 |
-
|
3024 |
-
#: includes/core/capabilities.php:392
|
3025 |
-
msgid "Participant"
|
3026 |
-
msgstr ""
|
3027 |
-
|
3028 |
-
#: includes/core/capabilities.php:398
|
3029 |
-
msgid "Spectator"
|
3030 |
-
msgstr ""
|
3031 |
-
|
3032 |
-
#: includes/core/capabilities.php:404
|
3033 |
-
msgid "Blocked"
|
3034 |
-
msgstr ""
|
3035 |
-
|
3036 |
#: includes/core/capabilities.php:523
|
3037 |
msgid "Editable forum roles no longer exist."
|
3038 |
msgstr ""
|
3039 |
|
3040 |
-
#: includes/core/sub-actions.php:147
|
3041 |
-
msgid "The current user is being initialized without using $wp->init()."
|
3042 |
-
msgstr ""
|
3043 |
-
|
3044 |
#: includes/core/update.php:186
|
3045 |
msgid "General"
|
3046 |
msgstr ""
|
@@ -4939,9 +4945,9 @@ msgstr ""
|
|
4939 |
msgid "bbPress"
|
4940 |
msgstr ""
|
4941 |
|
4942 |
-
#. #-#-#-#-# plugin.pot (bbPress 2.5.
|
4943 |
#. Plugin URI of the plugin/theme
|
4944 |
-
#. #-#-#-#-# plugin.pot (bbPress 2.5.
|
4945 |
#. Author URI of the plugin/theme
|
4946 |
msgid "https://bbpress.org"
|
4947 |
msgstr ""
|
2 |
# This file is distributed under the same license as the bbPress package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: bbPress 2.5.11\n"
|
6 |
"Report-Msgid-Bugs-To: https://bbpress.trac.wordpress.org\n"
|
7 |
+
"POT-Creation-Date: 2016-11-09 23:11:04+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
16 |
msgid "Cheatin’ huh?"
|
17 |
msgstr ""
|
18 |
|
19 |
+
#: bbpress.php:405 templates/default/bbpress-functions.php:51
|
20 |
msgid "bbPress Default"
|
21 |
msgstr ""
|
22 |
|
23 |
+
#: bbpress.php:485
|
24 |
msgid "bbPress Forums"
|
25 |
msgstr ""
|
26 |
|
27 |
+
#: bbpress.php:510
|
28 |
msgid "bbPress Topics"
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: bbpress.php:535
|
32 |
msgid "bbPress Replies"
|
33 |
msgstr ""
|
34 |
|
35 |
+
#: bbpress.php:570
|
36 |
msgctxt "post"
|
37 |
msgid "Closed"
|
38 |
msgstr ""
|
39 |
|
40 |
+
#: bbpress.php:571
|
41 |
msgctxt "post"
|
42 |
msgid "Closed <span class=\"count\">(%s)</span>"
|
43 |
msgid_plural "Closed <span class=\"count\">(%s)</span>"
|
44 |
msgstr[0] ""
|
45 |
msgstr[1] ""
|
46 |
|
47 |
+
#: bbpress.php:581
|
48 |
msgctxt "post"
|
49 |
msgid "Spam"
|
50 |
msgstr ""
|
51 |
|
52 |
+
#: bbpress.php:582
|
53 |
msgctxt "post"
|
54 |
msgid "Spam <span class=\"count\">(%s)</span>"
|
55 |
msgid_plural "Spam <span class=\"count\">(%s)</span>"
|
56 |
msgstr[0] ""
|
57 |
msgstr[1] ""
|
58 |
|
59 |
+
#: bbpress.php:594
|
60 |
msgctxt "post"
|
61 |
msgid "Orphan"
|
62 |
msgstr ""
|
63 |
|
64 |
+
#: bbpress.php:595
|
65 |
msgctxt "post"
|
66 |
msgid "Orphan <span class=\"count\">(%s)</span>"
|
67 |
msgid_plural "Orphans <span class=\"count\">(%s)</span>"
|
68 |
msgstr[0] ""
|
69 |
msgstr[1] ""
|
70 |
|
71 |
+
#: bbpress.php:607
|
72 |
msgctxt "post"
|
73 |
msgid "Hidden"
|
74 |
msgstr ""
|
75 |
|
76 |
+
#: bbpress.php:608
|
77 |
msgctxt "post"
|
78 |
msgid "Hidden <span class=\"count\">(%s)</span>"
|
79 |
msgid_plural "Hidden <span class=\"count\">(%s)</span>"
|
80 |
msgstr[0] ""
|
81 |
msgstr[1] ""
|
82 |
|
83 |
+
#: bbpress.php:678
|
84 |
msgid "Most popular topics"
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: bbpress.php:690
|
88 |
msgid "Topics with no replies"
|
89 |
msgstr ""
|
90 |
|
2706 |
"they always return false."
|
2707 |
msgstr ""
|
2708 |
|
2709 |
+
#. translators: user role
|
2710 |
+
#: includes/common/locale.php:44
|
2711 |
+
msgctxt "User role"
|
2712 |
+
msgid "Keymaster"
|
2713 |
+
msgstr ""
|
2714 |
+
|
2715 |
+
#. translators: user role
|
2716 |
+
#: includes/common/locale.php:47
|
2717 |
+
msgctxt "User role"
|
2718 |
+
msgid "Moderator"
|
2719 |
+
msgstr ""
|
2720 |
+
|
2721 |
+
#. translators: user role
|
2722 |
+
#: includes/common/locale.php:50
|
2723 |
+
msgctxt "User role"
|
2724 |
+
msgid "Participant"
|
2725 |
+
msgstr ""
|
2726 |
+
|
2727 |
+
#. translators: user role
|
2728 |
+
#: includes/common/locale.php:53
|
2729 |
+
msgctxt "User role"
|
2730 |
+
msgid "Spectator"
|
2731 |
+
msgstr ""
|
2732 |
+
|
2733 |
+
#. translators: user role
|
2734 |
+
#: includes/common/locale.php:56
|
2735 |
+
msgctxt "User role"
|
2736 |
+
msgid "Blocked"
|
2737 |
+
msgstr ""
|
2738 |
+
|
2739 |
#: includes/common/template.php:1457
|
2740 |
msgid "No topics available"
|
2741 |
msgstr ""
|
3043 |
msgid "Recent Replies"
|
3044 |
msgstr ""
|
3045 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3046 |
#: includes/core/capabilities.php:523
|
3047 |
msgid "Editable forum roles no longer exist."
|
3048 |
msgstr ""
|
3049 |
|
|
|
|
|
|
|
|
|
3050 |
#: includes/core/update.php:186
|
3051 |
msgid "General"
|
3052 |
msgstr ""
|
4945 |
msgid "bbPress"
|
4946 |
msgstr ""
|
4947 |
|
4948 |
+
#. #-#-#-#-# plugin.pot (bbPress 2.5.11) #-#-#-#-#
|
4949 |
#. Plugin URI of the plugin/theme
|
4950 |
+
#. #-#-#-#-# plugin.pot (bbPress 2.5.11) #-#-#-#-#
|
4951 |
#. Author URI of the plugin/theme
|
4952 |
msgid "https://bbpress.org"
|
4953 |
msgstr ""
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== bbPress ===
|
2 |
Contributors: matt, johnjamesjacoby, jmdodd, netweb
|
3 |
Tags: forums, discussion, support, theme, akismet, multisite
|
4 |
-
Requires at least:
|
5 |
-
Tested up to: 4.
|
6 |
-
Stable tag: 2.5.
|
7 |
License: GPLv2 or later
|
8 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -38,8 +38,23 @@ We're keeping things as small and light as possible while still allowing for gre
|
|
38 |
1. Visit 'Settings > Forums' and adjust your configuration.
|
39 |
2. Adjust the CSS of your theme as needed, to make everything pretty.
|
40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
== Changelog ==
|
42 |
|
|
|
|
|
|
|
|
|
|
|
43 |
= 2.5.10 =
|
44 |
* Improved user display-name rendering
|
45 |
|
1 |
=== bbPress ===
|
2 |
Contributors: matt, johnjamesjacoby, jmdodd, netweb
|
3 |
Tags: forums, discussion, support, theme, akismet, multisite
|
4 |
+
Requires at least: 4.2
|
5 |
+
Tested up to: 4.7
|
6 |
+
Stable tag: 2.5.11
|
7 |
License: GPLv2 or later
|
8 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
38 |
1. Visit 'Settings > Forums' and adjust your configuration.
|
39 |
2. Adjust the CSS of your theme as needed, to make everything pretty.
|
40 |
|
41 |
+
== Screenshots ==
|
42 |
+
|
43 |
+
1. Forums - Admin Interface
|
44 |
+
2. Topics - Admin Interface
|
45 |
+
3. Replies - Admin Interface
|
46 |
+
4. Settings - Admin Interface
|
47 |
+
5. Settings 2 - Admin Interface
|
48 |
+
6. Themes - Admin Interface
|
49 |
+
7. Single Forum - Default Theme
|
50 |
+
|
51 |
== Changelog ==
|
52 |
|
53 |
+
= 2.5.11 =
|
54 |
+
* Improved support for WordPress 4.7
|
55 |
+
* Improved localization of role names
|
56 |
+
* Increase minimum WordPress version to 4.2
|
57 |
+
|
58 |
= 2.5.10 =
|
59 |
* Improved user display-name rendering
|
60 |
|