← All changes
|
modules/editor-one/classes/active-menu-resolver.php
+1
-1
4.2.1
→
3.34.1
View file →
| @@ -16,9 +16,9 @@ | ||
| 16 | 16 | $this->url_matcher = $url_matcher; |
| 17 | 17 | } |
| 18 | 18 | |
| 19 | 19 | public function resolve( array $menu_items, array $level4_groups, string $current_page, string $current_uri ): array { |
| 20 | - if ( 'elementor-editor' === $current_page || Menu_Config::EDITOR_MENU_SLUG === $current_page || Menu_Config::ELEMENTOR_MENU_SLUG === $current_page ) { | |
| 20 | + if ( 'elementor-editor' === $current_page || Menu_Config::EDITOR_MENU_SLUG === $current_page ) { | |
| 21 | 21 | return $this->create_active_state( self::HOME_SLUG ); |
| 22 | 22 | } |
| 23 | 23 | |
| 24 | 24 | $pro_post_type_match = $this->get_pro_post_type_active_state(); |