v2.7.0: Planned Deprecations


Hey all! we are getting ready to release version 2.7.0. Here is the planned deprecation list:

Functions & Methods


Hard Deprecation

When a function/method is on hard deprecation phase, it means that the function/method will still work while it’s in this phase, but will add a PHP notice if the website WP_DEBUG property is set to true .

Function / Method NameChanges Made
Controls_Stack::_get_items()

Core Plugin
Replaced by: Controls_Stack::get_items()
Located in: includes/base/controls-stack.php
In Soft deprecation since: 2.3.0
Deletion version: 3.1.0
DB::get_new_editor_from_wp_editor()

Core Plugin
Replaced by: Plugin::$instance->documents->get( $post_id )->convert_to_elementor()
Located in: includes/db.php
In Soft deprecation since: 2.3.0
Deletion version: 3.1.0
Editor::add_editor_template()

Core Plugin
Replaced by:  Plugin::$instance->common->add_template()
Located in: includes/editor.php
In soft deprecation since:2.3.0
Deletion version:3.1.0
Editor::create_nonce()

Core Plugin
Replaced by: Plugin::$instance->common->get_component( 'ajax' )->create_nonce()
Located in: includes/editor.php
In soft deprecation since: 2.3.0
Deletion version: 3.1.0
Editor::verify_ajax_nonce()

Core Plugin
Replaced by: None
Located in: includes/editor.php
In soft deprecation since: 2.3.0
Deletion version: 3.1.0
Editor::verify_nonce()

Core Plugin
Replaced by: wp_verify_nonce()
Located in: includes/editor.php
In soft deprecation since: 2.3.0
Deletion version: 3.1.0
Editor::verify_request_nonce()

Core Plugin
Replaced by: Plugin::$instance->common->get_component( 'ajax' )->verify_request_nonce()
Located in: includes/editor.php
In soft deprecation since: 2.3.0
Deletion version: 3.1.0

Deletion

When a function/method is on deletion phase, it means that the function/method will not work anymore, and will most likely throw a Fatal Error when it’s called.

Function / Method NameChanges Made
Controls_Stack::_get_parsed_settings()

Core Plugin
Replaced by: Controls_Stack::get_init_settings()
Located in: includes/base/controls-stack.php
In soft deprecation since: 2.3.0
In hard deprecation since: 2.3.0

You can download the latest release of Elementor Core from WordPress repository, and the latest release of Elementor Pro from your Elementor dashboard.

If you spot any issues, please log them in detail on Github.

Liked This Article?

We have a lot more where that came from! Join 728,890 subscribers who stay ahead of the pack.
By entering your email, you agree to our Terms of Service and Privacy Policy.

About the Author

Shilo Eish Yemini
Shilo Eish Yemini

Share on

Share on facebook
Share on google
Share on twitter
Share on linkedin

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *