PluginProbe
Elementor Website Builder – more than just a page builder / 3.4.8
Elementor Website Builder – more than just a page builder v3.4.8
4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 4.0.7 All 451 releases
← All changes | core/debug/loading-inspection-manager.php +1 -8 4.2.23.4.8 View file →
@@ -1,12 +1,10 @@
1 1 <?php
2 2 namespace Elementor\Core\Debug;
3 3
4 4 use Elementor\Core\Debug\Classes\Inspection_Base;
5 -use Elementor\Core\Debug\Classes\Shop_Page_Edit;
6 5 use Elementor\Core\Debug\Classes\Theme_Missing;
7 6 use Elementor\Core\Debug\Classes\Htaccess;
8 -use Elementor\Utils;
9 7
10 8 class Loading_Inspection_Manager {
11 9
12 10 public static $_instance = null;
@@ -23,13 +21,8 @@
23 21
24 22 public function register_inspections() {
25 23 $this->inspections['theme-missing'] = new Theme_Missing();
26 24 $this->inspections['htaccess'] = new Htaccess();
27 -
28 - $is_editing_shop_page = Utils::get_super_global_value( $_GET, 'post' ) == get_option( 'woocommerce_shop_page_id' );
29 - if ( $is_editing_shop_page ) {
30 - $this->inspections['shop-page-edit'] = new Shop_Page_Edit();
31 - }
32 25 }
33 26
34 27 /**
35 28 * @param Inspection_Base $inspection
@@ -39,9 +32,9 @@
39 32 }
40 33
41 34 public function run_inspections() {
42 35 $debug_data = [
43 - 'message' => esc_html__( "We’re sorry, but something went wrong. Click on 'Learn more' and follow each of the steps to quickly solve it.", 'elementor' ),
36 + 'message' => esc_html__( 'We\'re sorry, but something went wrong. Click on \'Learn more\' and follow each of the steps to quickly solve it.', 'elementor' ),
44 37 'header' => esc_html__( 'The preview could not be loaded', 'elementor' ),
45 38 'doc_url' => 'https://go.elementor.com/preview-not-loaded/',
46 39 ];
47 40 foreach ( $this->inspections as $inspection ) {