diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..12e3093 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,45 @@ +# Change Log + +## 1.1.0 + +_Requires WordPress 5.8_ +_Tested up to WordPress 6.3_ +_Requires BuddyPress 12.0_ +_Tested up to BuddyPress 12.0_ + +### Description + +This is the first maintenance release of the the BP Classic Add-on. It brings to BuddyPress (12.0.0 & up) backwards compatibility code for plugins & themes not ready yet for the BP Rewrites API. + +### Changes + +- Make sure BP Classic is activated at the same network level than BuddyPress (See [#21](https://github.com/buddypress/bp-classic/issues/21)). +- Improve the way the themes directory is registered (See [#23](https://github.com/buddypress/bp-classic/issues/23)). + +## Props + +@imath, @dd32. + +--- + +## 1.0.0 + +_Requires WordPress 5.8_ +_Tested up to WordPress 6.3_ +_Requires BuddyPress 12.0_ +_Tested up to BuddyPress 12.0_ + +### Description + +BP Classic brings to BuddyPress (12.0.0 & up) backwards compatibility code for plugins & themes not ready yet for the BP Rewrites API. + +### Initial features + +- Restores the BP Legacy URL parser. +- Restores the BP Legacy widgets. +- Restores the BP Default theme. +- Restores the BP Legacy navigation globals (`buddypress()->bp_nav` & `buddypress()->bp_options_nav`) + +### Props + +@imath. diff --git a/class-bp-classic.php b/class-bp-classic.php index faca1d4..df8782d 100644 --- a/class-bp-classic.php +++ b/class-bp-classic.php @@ -11,7 +11,7 @@ * Plugin Name: BP Classic * Plugin URI: https://github.com/buddypress/bp-classic * Description: BuddyPress Classic backwards compatibility add-on. - * Version: 1.0.0 + * Version: 1.1.0 * Author: The BuddyPress Community * Author URI: https://buddypress.org * License: GPL-2.0+ diff --git a/inc/globals.php b/inc/globals.php index 3a5c5ac..10501a5 100644 --- a/inc/globals.php +++ b/inc/globals.php @@ -19,7 +19,7 @@ function bp_classic_globals() { $bpc = bp_classic(); - $bpc->version = '1.0.0'; + $bpc->version = '1.1.0'; // Paths. $inc_dir = plugin_dir_path( __FILE__ ); diff --git a/languages/bp-classic.pot b/languages/bp-classic.pot index 83947ed..f477bb5 100644 --- a/languages/bp-classic.pot +++ b/languages/bp-classic.pot @@ -9,7 +9,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2023-07-31T16:43:21+00:00\n" +"POT-Creation-Date: 2023-09-21T16:46:22+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.5.0\n" "X-Domain: bp-classic\n" @@ -35,10 +35,18 @@ msgid "https://buddypress.org" msgstr "" #. translators: %s. is current version of BuddyPress. -#: class-bp-classic.php:198 +#: class-bp-classic.php:226 msgid "Friendly reminder: BP Classic only runs when BuddyPress version is 12.0.0 (or up). Your current version of BuddyPress is: %s. Unless you activated BP Classic in anticipation of the 12.0.0 upgrade, you can deactivate it. This information will be shown regularly (every week) and as long as your BuddyPress version is lower than 12.0.0." msgstr "" +#: class-bp-classic.php:232 +msgid "Please, make sure to activate BP Classic at the network level, just like BuddyPress is." +msgstr "" + +#: class-bp-classic.php:235 +msgid "Please, make sure to activate BP Classic on the same site of the network BuddyPress is activated on." +msgstr "" + #: inc/activity/admin/functions.php:27 msgctxt "page label" msgid "BP Activity Page" diff --git a/package-lock.json b/package-lock.json index 02217ea..4c6bf9c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,13 @@ { "name": "bp-classic", - "version": "1.0.0", - "lockfileVersion": 1 + "version": "1.1.0", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "bp-classic", + "version": "1.1.0", + "license": "GPL-2.0-or-later" + } + } } diff --git a/package.json b/package.json index 8b2d847..e70719e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bp-classic", - "version": "1.0.0", + "version": "1.1.0", "description": "BuddyPress Classic backward compatibility plugin.", "scripts": { "bpdefault": "svn export --force https://github.com/buddypress/BP-Default.git/branches/prepare/bp-classic-moving themes/bp-default", diff --git a/readme.txt b/readme.txt index 8f25347..631a8a2 100644 --- a/readme.txt +++ b/readme.txt @@ -7,7 +7,7 @@ License URI: https://www.gnu.org/licenses/gpl-2.0.html Requires at least: 5.8 Requires PHP: 5.6 Tested up to: 6.3 -Stable tag: 1.0.0 +Stable tag: 1.1.0 BP Classic, a BuddyPress (12.0.0 & up) backwards compatibility add-on @@ -65,12 +65,21 @@ If you would like to provide monetary support to the BP Classic or BuddyPress pl == Upgrade Notice == += 1.1.0 = + +No specific upgrade tasks needed. + = 1.0.0 = Initial version of the plugin, no upgrade needed. == Changelog == += 1.1.0 = + +- Make sure BP Classic is activated at the same network level than BuddyPress (See [#21](https://github.com/buddypress/bp-classic/issues/21)). +- Improve the way the themes directory is registered (See [#23](https://github.com/buddypress/bp-classic/issues/23)). + = 1.0.0 = Initial version of the plugin.