bbPress - Version 2.6.8

Version Description

Download this release

Release Info

Developer johnjamesjacoby
Plugin Icon 128x128 bbPress
Version 2.6.8
Comparing to
See all releases

Code changes from version 2.6.7 to 2.6.8

Files changed (4) hide show
  1. bbpress.php +3 -3
  2. bbpress.pot +34 -34
  3. includes/common/template.php +8 -5
  4. readme.txt +1 -1
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 7161 2020-11-06 01:05:46Z johnjamesjacoby $
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 Contributors
19
  * Author URI: https://bbpress.org
20
- * Version: 2.6.7
21
  * Text Domain: bbpress
22
  * Domain Path: /languages/
23
  * License: GPLv2 or later (license.txt)
@@ -205,7 +205,7 @@ final class bbPress {
205
 
206
  /** Versions **********************************************************/
207
 
208
- $this->version = '2.6.7';
209
  $this->db_version = '263';
210
 
211
  /** Paths *************************************************************/
5
  *
6
  * bbPress is forum software with a twist from the creators of WordPress.
7
  *
8
+ * $Id: bbpress.php 7222 2021-11-19 16:14:57Z 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 Contributors
19
  * Author URI: https://bbpress.org
20
+ * Version: 2.6.8
21
  * Text Domain: bbpress
22
  * Domain Path: /languages/
23
  * License: GPLv2 or later (license.txt)
205
 
206
  /** Versions **********************************************************/
207
 
208
+ $this->version = '2.6.8';
209
  $this->db_version = '263';
210
 
211
  /** Paths *************************************************************/
bbpress.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: bbPress 2.6.7\n"
6
  "Report-Msgid-Bugs-To: https://bbpress.trac.wordpress.org\n"
7
- "POT-Creation-Date: 2021-11-17 16:26:08+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -641,7 +641,7 @@ msgid "View"
641
  msgstr ""
642
 
643
  #: includes/admin/classes/class-bbp-topic-replies-list-table.php:149
644
- #: includes/admin/settings.php:392 includes/common/template.php:2332
645
  #: includes/forums/template.php:54 includes/replies/template.php:55
646
  #: includes/replies/template.php:1849 includes/topics/template.php:53
647
  #: includes/topics/template.php:2403
@@ -1686,7 +1686,7 @@ msgid "Topic tags"
1686
  msgstr ""
1687
 
1688
  #: includes/admin/settings.php:230 includes/admin/settings.php:400
1689
- #: includes/common/template.php:2447 includes/search/template.php:175
1690
  #: templates/default/bbpress/form-reply-search.php:20
1691
  #: templates/default/bbpress/form-search.php:21
1692
  #: templates/default/bbpress/form-topic-search.php:20
@@ -3721,133 +3721,133 @@ msgid ""
3721
  "Login and visit the topic to unsubscribe from these emails."
3722
  msgstr ""
3723
 
3724
- #: includes/common/template.php:1158
3725
  msgid ""
3726
  "Conditional query tags do not work before the query is run. Before then, "
3727
  "they always return false."
3728
  msgstr ""
3729
 
3730
- #: includes/common/template.php:1630
3731
  msgid "No topics available"
3732
  msgstr ""
3733
 
3734
- #: includes/common/template.php:1635
3735
  msgid "No forums available"
3736
  msgstr ""
3737
 
3738
- #: includes/common/template.php:1640
3739
  msgid "None available"
3740
  msgstr ""
3741
 
3742
- #: includes/common/template.php:2254
3743
  msgid "Home"
3744
  msgstr ""
3745
 
3746
- #: includes/common/template.php:2324
3747
  msgid "(Edit)"
3748
  msgstr ""
3749
 
3750
- #: includes/common/template.php:2328 includes/common/template.php:2443
3751
- #: includes/common/template.php:2688 includes/core/theme-compat.php:804
3752
  #: templates/default/extras/taxonomy-topic-tag-edit.php:17
3753
  #: templates/default/extras/taxonomy-topic-tag.php:17
3754
  msgid "Topic Tag: %s"
3755
  msgstr ""
3756
 
3757
- #: includes/common/template.php:2349
3758
  msgid "‹"
3759
  msgstr ""
3760
 
3761
- #: includes/common/template.php:2349
3762
  msgid "›"
3763
  msgstr ""
3764
 
3765
- #: includes/common/template.php:2612
3766
  msgid "Log Out"
3767
  msgstr ""
3768
 
3769
- #: includes/common/template.php:2652
3770
  msgid "Forum Edit: %s"
3771
  msgstr ""
3772
 
3773
- #: includes/common/template.php:2657
3774
  msgid "Topic Edit: %s"
3775
  msgstr ""
3776
 
3777
- #: includes/common/template.php:2662
3778
  msgid "Reply Edit: %s"
3779
  msgstr ""
3780
 
3781
- #: includes/common/template.php:2667
3782
  msgid "Topic Tag Edit: %s"
3783
  msgstr ""
3784
 
3785
- #: includes/common/template.php:2674
3786
  msgid "Forum: %s"
3787
  msgstr ""
3788
 
3789
- #: includes/common/template.php:2679
3790
  msgid "Topic: %s"
3791
  msgstr ""
3792
 
3793
- #: includes/common/template.php:2701
3794
  msgid "Your Topics"
3795
  msgstr ""
3796
 
3797
- #: includes/common/template.php:2705
3798
  #. translators: user's display name
3799
  msgid "%s's Topics"
3800
  msgstr ""
3801
 
3802
- #: includes/common/template.php:2711
3803
  msgid "Your Replies"
3804
  msgstr ""
3805
 
3806
- #: includes/common/template.php:2715
3807
  #. translators: user's display name
3808
  msgid "%s's Replies"
3809
  msgstr ""
3810
 
3811
- #: includes/common/template.php:2721
3812
  msgid "Your Favorites"
3813
  msgstr ""
3814
 
3815
- #: includes/common/template.php:2725
3816
  #: templates/default/bbpress/user-details.php:57
3817
  #. translators: user's display name
3818
  msgid "%s's Favorites"
3819
  msgstr ""
3820
 
3821
- #: includes/common/template.php:2731
3822
  msgid "Your Subscriptions"
3823
  msgstr ""
3824
 
3825
- #: includes/common/template.php:2735
3826
  #: templates/default/bbpress/user-details.php:67
3827
  #. translators: user's display name
3828
  msgid "%s's Subscriptions"
3829
  msgstr ""
3830
 
3831
- #: includes/common/template.php:2741
3832
  msgid "Your Profile"
3833
  msgstr ""
3834
 
3835
- #: includes/common/template.php:2745
3836
  #: templates/default/bbpress/user-details.php:30
3837
  #. translators: user's display name
3838
  msgid "%s's Profile"
3839
  msgstr ""
3840
 
3841
- #: includes/common/template.php:2754
3842
  msgid "Edit Your Profile"
3843
  msgstr ""
3844
 
3845
- #: includes/common/template.php:2759
3846
  #: templates/default/bbpress/user-details.php:74
3847
  msgid "Edit %s's Profile"
3848
  msgstr ""
3849
 
3850
- #: includes/common/template.php:2767
3851
  msgid "View: %s"
3852
  msgstr ""
3853
 
2
  # This file is distributed under the GPLv2 or later (license.txt).
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: bbPress 2.6.8\n"
6
  "Report-Msgid-Bugs-To: https://bbpress.trac.wordpress.org\n"
7
+ "POT-Creation-Date: 2021-11-19 16:18:33+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
641
  msgstr ""
642
 
643
  #: includes/admin/classes/class-bbp-topic-replies-list-table.php:149
644
+ #: includes/admin/settings.php:392 includes/common/template.php:2335
645
  #: includes/forums/template.php:54 includes/replies/template.php:55
646
  #: includes/replies/template.php:1849 includes/topics/template.php:53
647
  #: includes/topics/template.php:2403
1686
  msgstr ""
1687
 
1688
  #: includes/admin/settings.php:230 includes/admin/settings.php:400
1689
+ #: includes/common/template.php:2450 includes/search/template.php:175
1690
  #: templates/default/bbpress/form-reply-search.php:20
1691
  #: templates/default/bbpress/form-search.php:21
1692
  #: templates/default/bbpress/form-topic-search.php:20
3721
  "Login and visit the topic to unsubscribe from these emails."
3722
  msgstr ""
3723
 
3724
+ #: includes/common/template.php:1161
3725
  msgid ""
3726
  "Conditional query tags do not work before the query is run. Before then, "
3727
  "they always return false."
3728
  msgstr ""
3729
 
3730
+ #: includes/common/template.php:1633
3731
  msgid "No topics available"
3732
  msgstr ""
3733
 
3734
+ #: includes/common/template.php:1638
3735
  msgid "No forums available"
3736
  msgstr ""
3737
 
3738
+ #: includes/common/template.php:1643
3739
  msgid "None available"
3740
  msgstr ""
3741
 
3742
+ #: includes/common/template.php:2257
3743
  msgid "Home"
3744
  msgstr ""
3745
 
3746
+ #: includes/common/template.php:2327
3747
  msgid "(Edit)"
3748
  msgstr ""
3749
 
3750
+ #: includes/common/template.php:2331 includes/common/template.php:2446
3751
+ #: includes/common/template.php:2691 includes/core/theme-compat.php:804
3752
  #: templates/default/extras/taxonomy-topic-tag-edit.php:17
3753
  #: templates/default/extras/taxonomy-topic-tag.php:17
3754
  msgid "Topic Tag: %s"
3755
  msgstr ""
3756
 
3757
+ #: includes/common/template.php:2352
3758
  msgid "‹"
3759
  msgstr ""
3760
 
3761
+ #: includes/common/template.php:2352
3762
  msgid "›"
3763
  msgstr ""
3764
 
3765
+ #: includes/common/template.php:2615
3766
  msgid "Log Out"
3767
  msgstr ""
3768
 
3769
+ #: includes/common/template.php:2655
3770
  msgid "Forum Edit: %s"
3771
  msgstr ""
3772
 
3773
+ #: includes/common/template.php:2660
3774
  msgid "Topic Edit: %s"
3775
  msgstr ""
3776
 
3777
+ #: includes/common/template.php:2665
3778
  msgid "Reply Edit: %s"
3779
  msgstr ""
3780
 
3781
+ #: includes/common/template.php:2670
3782
  msgid "Topic Tag Edit: %s"
3783
  msgstr ""
3784
 
3785
+ #: includes/common/template.php:2677
3786
  msgid "Forum: %s"
3787
  msgstr ""
3788
 
3789
+ #: includes/common/template.php:2682
3790
  msgid "Topic: %s"
3791
  msgstr ""
3792
 
3793
+ #: includes/common/template.php:2704
3794
  msgid "Your Topics"
3795
  msgstr ""
3796
 
3797
+ #: includes/common/template.php:2708
3798
  #. translators: user's display name
3799
  msgid "%s's Topics"
3800
  msgstr ""
3801
 
3802
+ #: includes/common/template.php:2714
3803
  msgid "Your Replies"
3804
  msgstr ""
3805
 
3806
+ #: includes/common/template.php:2718
3807
  #. translators: user's display name
3808
  msgid "%s's Replies"
3809
  msgstr ""
3810
 
3811
+ #: includes/common/template.php:2724
3812
  msgid "Your Favorites"
3813
  msgstr ""
3814
 
3815
+ #: includes/common/template.php:2728
3816
  #: templates/default/bbpress/user-details.php:57
3817
  #. translators: user's display name
3818
  msgid "%s's Favorites"
3819
  msgstr ""
3820
 
3821
+ #: includes/common/template.php:2734
3822
  msgid "Your Subscriptions"
3823
  msgstr ""
3824
 
3825
+ #: includes/common/template.php:2738
3826
  #: templates/default/bbpress/user-details.php:67
3827
  #. translators: user's display name
3828
  msgid "%s's Subscriptions"
3829
  msgstr ""
3830
 
3831
+ #: includes/common/template.php:2744
3832
  msgid "Your Profile"
3833
  msgstr ""
3834
 
3835
+ #: includes/common/template.php:2748
3836
  #: templates/default/bbpress/user-details.php:30
3837
  #. translators: user's display name
3838
  msgid "%s's Profile"
3839
  msgstr ""
3840
 
3841
+ #: includes/common/template.php:2757
3842
  msgid "Edit Your Profile"
3843
  msgstr ""
3844
 
3845
+ #: includes/common/template.php:2762
3846
  #: templates/default/bbpress/user-details.php:74
3847
  msgid "Edit %s's Profile"
3848
  msgstr ""
3849
 
3850
+ #: includes/common/template.php:2770
3851
  msgid "View: %s"
3852
  msgstr ""
3853
 
includes/common/template.php CHANGED
@@ -965,10 +965,10 @@ function bbp_is_edit() {
965
  * @param array $custom_classes
966
  * @return array Body Classes
967
  */
968
- function bbp_body_class( $wp_classes, $custom_classes = false ) {
969
 
970
- // Default classes
971
- $bbp_classes = array( 'no-js' );
972
 
973
  /** Archives **************************************************************/
974
 
@@ -1077,13 +1077,16 @@ function bbp_body_class( $wp_classes, $custom_classes = false ) {
1077
  $bbp_classes[] = 'bbp-shortcode';
1078
  }
1079
 
1080
- /** Clean up **************************************************************/
1081
 
1082
- // Add bbPress class if we are within a bbPress page
1083
  if ( ! empty( $bbp_classes ) ) {
1084
  $bbp_classes[] = 'bbpress';
 
1085
  }
1086
 
 
 
1087
  // Merge WP classes with bbPress classes and remove any duplicates
1088
  $classes = array_unique( array_merge( (array) $bbp_classes, (array) $wp_classes ) );
1089
 
965
  * @param array $custom_classes
966
  * @return array Body Classes
967
  */
968
+ function bbp_body_class( $wp_classes = array(), $custom_classes = false ) {
969
 
970
+ // Default to no classes
971
+ $bbp_classes = array();
972
 
973
  /** Archives **************************************************************/
974
 
1077
  $bbp_classes[] = 'bbp-shortcode';
1078
  }
1079
 
1080
+ /** General ***************************************************************/
1081
 
1082
+ // Any page with bbPress content
1083
  if ( ! empty( $bbp_classes ) ) {
1084
  $bbp_classes[] = 'bbpress';
1085
+ $bbp_classes[] = 'no-js';
1086
  }
1087
 
1088
+ /** Clean up **************************************************************/
1089
+
1090
  // Merge WP classes with bbPress classes and remove any duplicates
1091
  $classes = array_unique( array_merge( (array) $bbp_classes, (array) $wp_classes ) );
1092
 
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: matt, johnjamesjacoby, jmdodd, netweb, sergeybiryukov
3
  Tags: forum, forums, discussion, support
4
  Tested up to: 5.9
5
- Stable tag: 2.6.7
6
  License: GPLv2 or later
7
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
8
  Requires PHP: 5.6.20
2
  Contributors: matt, johnjamesjacoby, jmdodd, netweb, sergeybiryukov
3
  Tags: forum, forums, discussion, support
4
  Tested up to: 5.9
5
+ Stable tag: 2.6.8
6
  License: GPLv2 or later
7
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
8
  Requires PHP: 5.6.20