← All changes
|
core/kits/documents/tabs/settings-site-identity.php
+4
-15
4.3.1
→
3.8.1
View file →
| @@ -6,9 +6,9 @@ | ||
| 6 | 6 | use Elementor\Core\Base\Document; |
| 7 | 7 | use Elementor\Core\Files\Uploads_Manager; |
| 8 | 8 | |
| 9 | 9 | if ( ! defined( 'ABSPATH' ) ) { |
| 10 | - exit; // Exit if accessed directly. | |
| 10 | + exit; // Exit if accessed directly | |
| 11 | 11 | } |
| 12 | 12 | |
| 13 | 13 | class Settings_Site_Identity extends Tab_Base { |
| 14 | 14 | |
| @@ -52,17 +52,11 @@ | ||
| 52 | 52 | |
| 53 | 53 | $this->add_control( |
| 54 | 54 | $this->get_id() . '_refresh_notice', |
| 55 | 55 | [ |
| 56 | - 'type' => Controls_Manager::ALERT, | |
| 57 | - 'alert_type' => 'info', | |
| 58 | - 'content' => sprintf( | |
| 59 | - /* translators: 1: Link open tag, 2: Link open tag, 3: Link close tag. */ | |
| 60 | - esc_html__( 'Changes will be reflected only after %1$s saving %3$s and %2$s reloading %3$s preview.', 'elementor' ), | |
| 61 | - '<a href="javascript: $e.run( \'document/save/default\' )">', | |
| 62 | - '<a href="javascript: $e.run( \'preview/reload\' )">', | |
| 63 | - '</a>' | |
| 64 | - ), | |
| 56 | + 'type' => Controls_Manager::RAW_HTML, | |
| 57 | + 'raw' => esc_html__( 'Changes will be reflected in the preview only after the page reloads.', 'elementor' ), | |
| 58 | + 'content_classes' => 'elementor-panel-alert elementor-panel-alert-info', | |
| 65 | 59 | ] |
| 66 | 60 | ); |
| 67 | 61 | |
| 68 | 62 | $this->add_control( |
| @@ -103,13 +97,8 @@ | ||
| 103 | 97 | '350', |
| 104 | 98 | '100' |
| 105 | 99 | ), |
| 106 | 100 | 'export' => false, |
| 107 | - 'ai' => [ | |
| 108 | - 'active' => true, | |
| 109 | - 'type' => 'media', | |
| 110 | - 'category' => 'vector', | |
| 111 | - ], | |
| 112 | 101 | ] |
| 113 | 102 | ); |
| 114 | 103 | |
| 115 | 104 | $this->add_control( |