| @@ -974,9 +974,10 @@ | ||
| 974 | 974 | * @param string $last Plugin version in which the widget will be removed |
| 975 | 975 | * @param string $replacement Widget replacement |
| 976 | 976 | */ |
| 977 | 977 | protected function deprecated_notice( $plugin_title, $since, $last = '', $replacement = '' ) { |
| 978 | - $this->start_controls_section( 'Deprecated', | |
| 978 | + $this->start_controls_section( | |
| 979 | + 'Deprecated', | |
| 979 | 980 | [ |
| 980 | 981 | 'label' => esc_html__( 'Deprecated', 'elementor' ), |
| 981 | 982 | ] |
| 982 | 983 | ); |
| @@ -1073,17 +1074,9 @@ | ||
| 1073 | 1074 | if ( ! $this->is_inline_css_mode() ) { |
| 1074 | 1075 | return; |
| 1075 | 1076 | } |
| 1076 | 1077 | |
| 1077 | - $widget_css = $this->get_widget_css(); | |
| 1078 | - | |
| 1079 | - echo wp_kses( $widget_css, [ | |
| 1080 | - 'style' => [], | |
| 1081 | - 'link' => [ | |
| 1082 | - 'rel' => true, | |
| 1083 | - 'href' => true, | |
| 1084 | - ], | |
| 1085 | - ] ); | |
| 1078 | + Utils::print_unescaped_internal_string( $this->get_widget_css() ); | |
| 1086 | 1079 | } |
| 1087 | 1080 | |
| 1088 | 1081 | private function get_widgets_css_data_manager() { |
| 1089 | 1082 | if ( ! self::$widgets_css_data_manager ) { |