← All changes
|
core/kits/documents/tabs/settings-site-identity.php
+4
-9
4.3.2
→
3.17.2
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,11 +52,10 @@ | ||
| 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( | |
| 56 | + 'type' => Controls_Manager::RAW_HTML, | |
| 57 | + 'raw' => sprintf( | |
| 59 | 58 | /* translators: 1: Link open tag, 2: Link open tag, 3: Link close tag. */ |
| 60 | 59 | esc_html__( 'Changes will be reflected only after %1$s saving %3$s and %2$s reloading %3$s preview.', 'elementor' ), |
| 61 | 60 | '<a href="javascript: $e.run( \'document/save/default\' )">', |
| 62 | 61 | '<a href="javascript: $e.run( \'preview/reload\' )">', |
| @@ -61,8 +60,9 @@ | ||
| 61 | 60 | '<a href="javascript: $e.run( \'document/save/default\' )">', |
| 62 | 61 | '<a href="javascript: $e.run( \'preview/reload\' )">', |
| 63 | 62 | '</a>' |
| 64 | 63 | ), |
| 64 | + 'content_classes' => 'elementor-panel-alert elementor-panel-alert-info', | |
| 65 | 65 | ] |
| 66 | 66 | ); |
| 67 | 67 | |
| 68 | 68 | $this->add_control( |
| @@ -103,13 +103,8 @@ | ||
| 103 | 103 | '350', |
| 104 | 104 | '100' |
| 105 | 105 | ), |
| 106 | 106 | 'export' => false, |
| 107 | - 'ai' => [ | |
| 108 | - 'active' => true, | |
| 109 | - 'type' => 'media', | |
| 110 | - 'category' => 'vector', | |
| 111 | - ], | |
| 112 | 107 | ] |
| 113 | 108 | ); |
| 114 | 109 | |
| 115 | 110 | $this->add_control( |