Version Description
- 2021-01-13 =
- Fix: Wrong version detection when trying to rollback Elementor version
Download this release
Release Info
Developer | KingYes |
Plugin | Elementor Beta (Developer Edition) |
Version | 1.1.1 |
Comparing to | |
See all releases |
Code changes from version 1.1.0 to 1.1.1
- elementor-beta.php +2 -2
- modules/developer-edition/core-version-control.php +9 -1
- readme.txt +5 -2
elementor-beta.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Elementor Beta (Developer Edition)
|
4 |
* Plugin URI: https://elementor.com
|
5 |
* Description: Elementor Developer Edition gives you direct access into Elementor’s development process, and lets you take an active part in perfecting our product. Each Developer Edition release will contain experimental functionalities that developers will be able to use to get familiar with the next releases before they are published.
|
6 |
-
* Version: 1.1.
|
7 |
* Author: Elementor.com
|
8 |
* Author URI: https://elementor.com/?utm_source=wp-plugins&utm_campaign=dev-author-uri&utm_medium=wp-dash
|
9 |
* Text Domain: elementor-beta
|
@@ -41,7 +41,7 @@ if ( ! defined( 'ELEMENTOR_BETA_NAMESPACE' ) ) {
|
|
41 |
}
|
42 |
|
43 |
if ( ! defined( 'ELEMENTOR_BETA_VERSION' ) ) {
|
44 |
-
define( 'ELEMENTOR_BETA_VERSION', '1.1.
|
45 |
}
|
46 |
|
47 |
// Run autoloader
|
3 |
* Plugin Name: Elementor Beta (Developer Edition)
|
4 |
* Plugin URI: https://elementor.com
|
5 |
* Description: Elementor Developer Edition gives you direct access into Elementor’s development process, and lets you take an active part in perfecting our product. Each Developer Edition release will contain experimental functionalities that developers will be able to use to get familiar with the next releases before they are published.
|
6 |
+
* Version: 1.1.1
|
7 |
* Author: Elementor.com
|
8 |
* Author URI: https://elementor.com/?utm_source=wp-plugins&utm_campaign=dev-author-uri&utm_medium=wp-dash
|
9 |
* Text Domain: elementor-beta
|
41 |
}
|
42 |
|
43 |
if ( ! defined( 'ELEMENTOR_BETA_VERSION' ) ) {
|
44 |
+
define( 'ELEMENTOR_BETA_VERSION', '1.1.1' );
|
45 |
}
|
46 |
|
47 |
// Run autoloader
|
modules/developer-edition/core-version-control.php
CHANGED
@@ -21,7 +21,15 @@ class Core_Version_Control extends Base_Version_Control {
|
|
21 |
* Version_Control constructor.
|
22 |
*/
|
23 |
public function __construct() {
|
24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
add_filter( 'elementor/settings/tools/rollback/is_valid_rollback_version', function ( $is_valid, $version ) {
|
26 |
return $this->is_valid_rollback_version( $is_valid, $version );
|
27 |
}, 10, 2 );
|
21 |
* Version_Control constructor.
|
22 |
*/
|
23 |
public function __construct() {
|
24 |
+
// If the user tries to rollback, it should not take over on the version update mechanism.
|
25 |
+
if ( ! isset( $_GET['action'] ) || 'elementor_rollback' !== $_GET['action'] ) { // phpcs:ignore WordPress.Security.NonceVerification -- nonce check is not required here.
|
26 |
+
add_filter(
|
27 |
+
'pre_set_site_transient_update_plugins',
|
28 |
+
[ $this, 'pre_set_site_transient_update_plugins' ],
|
29 |
+
11 /* After Elementor beta */
|
30 |
+
);
|
31 |
+
}
|
32 |
+
|
33 |
add_filter( 'elementor/settings/tools/rollback/is_valid_rollback_version', function ( $is_valid, $version ) {
|
34 |
return $this->is_valid_rollback_version( $is_valid, $version );
|
35 |
}, 10, 2 );
|
readme.txt
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
Contributors: nevog, elemntor, KingYes, ariel.k
|
3 |
Tags: elementor, website builder, beta, developer, bleeding edge, testing, landing page, drag-and-drop, visual editor
|
4 |
Requires at least: 5.0
|
5 |
-
Tested up to:
|
6 |
Requires PHP: 5.6
|
7 |
-
Stable tag: 1.1.
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -76,6 +76,9 @@ Beta versions are the designated version for release. Developer Edition versions
|
|
76 |
|
77 |
== Changelog ==
|
78 |
|
|
|
|
|
|
|
79 |
= 1.1.0 - 2021-01-12 =
|
80 |
* Tweak: Added support for Elementor Pro v3.1.0
|
81 |
|
2 |
Contributors: nevog, elemntor, KingYes, ariel.k
|
3 |
Tags: elementor, website builder, beta, developer, bleeding edge, testing, landing page, drag-and-drop, visual editor
|
4 |
Requires at least: 5.0
|
5 |
+
Tested up to: 6.1
|
6 |
Requires PHP: 5.6
|
7 |
+
Stable tag: 1.1.1
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
76 |
|
77 |
== Changelog ==
|
78 |
|
79 |
+
= 1.1.1 - 2021-01-13 =
|
80 |
+
* Fix: Wrong version detection when trying to rollback Elementor version
|
81 |
+
|
82 |
= 1.1.0 - 2021-01-12 =
|
83 |
* Tweak: Added support for Elementor Pro v3.1.0
|
84 |
|