| @@ -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 |