Version Description
Download this release
Release Info
Developer | Tomdever |
Plugin | wpForo Forum |
Version | 1.9.9.2 |
Comparing to | |
See all releases |
Code changes from version 1.9.9.1 to 1.9.9.2
- readme.txt +7 -2
- wpf-includes/functions-installation.php +16 -1
- wpforo.php +2 -2
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: gVectors Team
|
3 |
Tags: forum, forums, forum plugin, WordPress forum plugin, community, discussion
|
4 |
Requires at least: 4.1
|
5 |
-
Tested up to: 6.
|
6 |
-
Stable tag: 1.9.9.
|
7 |
Requires PHP: 5.6 and higher
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
@@ -165,6 +165,11 @@ Find wpForo forum plugin addons on [gVectors Team website...](https://gvectors.c
|
|
165 |
|
166 |
== Changelog ==
|
167 |
|
|
|
|
|
|
|
|
|
|
|
168 |
= wpForo Forum 1.9.9.1 | 11.10.2021 =
|
169 |
|
170 |
* Release Info: This is a not planned release to fix some important conflicts and to add some hooks for WooCommerce Memberships plugin integration.
|
2 |
Contributors: gVectors Team
|
3 |
Tags: forum, forums, forum plugin, WordPress forum plugin, community, discussion
|
4 |
Requires at least: 4.1
|
5 |
+
Tested up to: 6.1
|
6 |
+
Stable tag: 1.9.9.2
|
7 |
Requires PHP: 5.6 and higher
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
165 |
|
166 |
== Changelog ==
|
167 |
|
168 |
+
= wpForo Forum 1.9.9.2 | 29.07.2022 =
|
169 |
+
|
170 |
+
* Release Info: This is a preparation release for the next wpForo 2.0.0 major update. The v2.0.0 will be released in a few days. It's better to have this version before updating to wpForo 2.0.0. Other versions of wpForo can be updated to v2 as well, so it's not mandatory to do this update.
|
171 |
+
|
172 |
+
|
173 |
= wpForo Forum 1.9.9.1 | 11.10.2021 =
|
174 |
|
175 |
* Release Info: This is a not planned release to fix some important conflicts and to add some hooks for WooCommerce Memberships plugin integration.
|
wpf-includes/functions-installation.php
CHANGED
@@ -862,4 +862,19 @@ function wpforo_clean_up(){
|
|
862 |
array( 'first_postid' => 0 ),
|
863 |
array( '%d' )
|
864 |
);
|
865 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
862 |
array( 'first_postid' => 0 ),
|
863 |
array( '%d' )
|
864 |
);
|
865 |
+
}
|
866 |
+
|
867 |
+
function wpforo_plugin_update_message( $plugin_data ) {
|
868 |
+
$new_is_v2 = version_compare( $plugin_data['new_version'], '2.0.0', '>=' );
|
869 |
+
$old_is_v1 = version_compare( $plugin_data['Version'], '2.0.0', '<' );
|
870 |
+
if( $new_is_v2 && $old_is_v1 && isset( $plugin_data['update'] ) && $plugin_data['update'] ) {
|
871 |
+
echo '<br><br><b style="font-size:14px;">IMPORTANT!</b>';
|
872 |
+
echo '<ul style="list-style: disc; margin: 0 18px;">';
|
873 |
+
echo '<li style="margin-bottom: 3px;">' . 'This is a major version release. All customizations of forum template files and style CSS codes will be lost, because the theme of wpForo v2 has been fully changed.';
|
874 |
+
echo '<li style="margin-bottom: 3px;">' . 'Please backup the database before updating wpForo, you can use <a href="https://wordpress.org/plugins/updraftplus/" target="_blank">UpdraftPlus Backup</a> plugin.';
|
875 |
+
echo '<li style="margin-bottom: 3px;">' . 'You can test upgrading your forum on an instant copy using <a href="https://wordpress.org/plugins/duplicator/" target="_blank">Duplicator</a> or <a href="https://updraftplus.com/updraftclone/" target="_blank">UpdraftClone</a> plugin.';
|
876 |
+
echo '<li style="margin-bottom: 3px;">' . '<b>Update Instruction:</b> <a href="https://wpforo.com/docs/wpforo-v2/getting-started/update-to-wpforo-v2/" target="_blank">Update to wpForo v2 »</a>';
|
877 |
+
echo '</ul>';
|
878 |
+
}
|
879 |
+
}
|
880 |
+
add_action( 'in_plugin_update_message-' . WPFORO_BASENAME, 'wpforo_plugin_update_message', 10 );
|
wpforo.php
CHANGED
@@ -5,14 +5,14 @@
|
|
5 |
* Description: WordPress Forum plugin. wpForo is a full-fledged forum solution for your community. Comes with multiple modern forum layouts.
|
6 |
* Author: gVectors Team
|
7 |
* Author URI: https://gvectors.com/
|
8 |
-
* Version: 1.9.9.
|
9 |
* Text Domain: wpforo
|
10 |
* Domain Path: /wpf-languages
|
11 |
*/
|
12 |
|
13 |
//Exit if accessed directly
|
14 |
if( !defined( 'ABSPATH' ) ) exit;
|
15 |
-
if( !defined( 'WPFORO_VERSION' ) ) define('WPFORO_VERSION', '1.9.9.
|
16 |
|
17 |
function wpforo_load_plugin_textdomain() { load_plugin_textdomain( 'wpforo', FALSE, basename( dirname( __FILE__ ) ) . '/wpf-languages/' ); }
|
18 |
add_action( 'plugins_loaded', 'wpforo_load_plugin_textdomain' );
|
5 |
* Description: WordPress Forum plugin. wpForo is a full-fledged forum solution for your community. Comes with multiple modern forum layouts.
|
6 |
* Author: gVectors Team
|
7 |
* Author URI: https://gvectors.com/
|
8 |
+
* Version: 1.9.9.2
|
9 |
* Text Domain: wpforo
|
10 |
* Domain Path: /wpf-languages
|
11 |
*/
|
12 |
|
13 |
//Exit if accessed directly
|
14 |
if( !defined( 'ABSPATH' ) ) exit;
|
15 |
+
if( !defined( 'WPFORO_VERSION' ) ) define('WPFORO_VERSION', '1.9.9.2');
|
16 |
|
17 |
function wpforo_load_plugin_textdomain() { load_plugin_textdomain( 'wpforo', FALSE, basename( dirname( __FILE__ ) ) . '/wpf-languages/' ); }
|
18 |
add_action( 'plugins_loaded', 'wpforo_load_plugin_textdomain' );
|