| @@ -9,9 +9,9 @@ | ||
| 9 | 9 | use Elementor\Settings; |
| 10 | 10 | use Elementor\Sub_Controls_Stack; |
| 11 | 11 | |
| 12 | 12 | if ( ! defined( 'ABSPATH' ) ) { |
| 13 | - exit; // Exit if accessed directly. | |
| 13 | + exit; // Exit if accessed directly | |
| 14 | 14 | } |
| 15 | 15 | |
| 16 | 16 | abstract class Tab_Base extends Sub_Controls_Stack { |
| 17 | 17 | /** |
| @@ -72,16 +72,16 @@ | ||
| 72 | 72 | $this->add_control( |
| 73 | 73 | $current_section['section'] . '_schemes_notice', |
| 74 | 74 | [ |
| 75 | 75 | 'name' => $current_section['section'] . '_schemes_notice', |
| 76 | - 'type' => Controls_Manager::ALERT, | |
| 77 | - 'alert_type' => 'warning', | |
| 78 | - 'content' => sprintf( | |
| 76 | + 'type' => Controls_Manager::RAW_HTML, | |
| 77 | + 'raw' => sprintf( | |
| 79 | 78 | /* translators: 1: Link open tag, 2: Link close tag. */ |
| 80 | 79 | esc_html__( 'In order for Theme Style to affect all relevant Elementor elements, please disable Default Colors and Fonts from the %1$sSettings Page%2$s.', 'elementor' ), |
| 81 | - '<a href="' . Settings::get_settings_tab_url( 'general' ) . '" target="_blank">', | |
| 80 | + '<a href="' . esc_url( Settings::get_url() ) . '" target="_blank">', | |
| 82 | 81 | '</a>' |
| 83 | 82 | ), |
| 83 | + 'content_classes' => 'elementor-panel-alert elementor-panel-alert-warning', | |
| 84 | 84 | 'render_type' => 'ui', |
| 85 | 85 | ] |
| 86 | 86 | ); |
| 87 | 87 | } |