| @@ -225,12 +225,12 @@ | ||
| 225 | 225 | |
| 226 | 226 | $this->add_control( |
| 227 | 227 | 'border_color', |
| 228 | 228 | [ |
| 229 | - 'label' => esc_html__( 'Side Border Color', 'elementor' ), | |
| 229 | + 'label' => esc_html__( 'Border Color', 'elementor' ), | |
| 230 | 230 | 'type' => Controls_Manager::COLOR, |
| 231 | 231 | 'selectors' => [ |
| 232 | - '{{WRAPPER}} .elementor-alert' => 'border-inline-start-color: {{VALUE}};', | |
| 232 | + '{{WRAPPER}} .elementor-alert' => 'border-color: {{VALUE}};', | |
| 233 | 233 | ], |
| 234 | 234 | ] |
| 235 | 235 | ); |
| 236 | 236 | |
| @@ -236,9 +236,9 @@ | ||
| 236 | 236 | |
| 237 | 237 | $this->add_control( |
| 238 | 238 | 'border_left-width', |
| 239 | 239 | [ |
| 240 | - 'label' => esc_html__( 'Side Border Width', 'elementor' ), | |
| 240 | + 'label' => esc_html__( 'Left Border Width', 'elementor' ), | |
| 241 | 241 | 'type' => Controls_Manager::SLIDER, |
| 242 | 242 | 'size_units' => [ 'px', '%', 'em', 'rem', 'custom' ], |
| 243 | 243 | 'range' => [ |
| 244 | 244 | 'px' => [ |
| @@ -248,9 +248,9 @@ | ||
| 248 | 248 | 'max' => 10, |
| 249 | 249 | ], |
| 250 | 250 | ], |
| 251 | 251 | 'selectors' => [ |
| 252 | - '{{WRAPPER}} .elementor-alert' => 'border-inline-start-width: {{SIZE}}{{UNIT}};', | |
| 252 | + '{{WRAPPER}} .elementor-alert' => 'border-left-width: {{SIZE}}{{UNIT}};', | |
| 253 | 253 | ], |
| 254 | 254 | ] |
| 255 | 255 | ); |
| 256 | 256 | |
| @@ -494,13 +494,13 @@ | ||
| 494 | 494 | ?> |
| 495 | 495 | <div <?php $this->print_render_attribute_string( 'alert_wrapper' ); ?>> |
| 496 | 496 | |
| 497 | 497 | <?php if ( ! Utils::is_empty( $settings['alert_title'] ) ) : ?> |
| 498 | - <span <?php $this->print_render_attribute_string( 'alert_title' ); ?>><?php echo wp_kses_post( $settings['alert_title'] ); ?></span> | |
| 498 | + <span <?php $this->print_render_attribute_string( 'alert_title' ); ?>><?php $this->print_unescaped_setting( 'alert_title' ); ?></span> | |
| 499 | 499 | <?php endif; ?> |
| 500 | 500 | |
| 501 | 501 | <?php if ( ! Utils::is_empty( $settings['alert_description'] ) ) : ?> |
| 502 | - <span <?php $this->print_render_attribute_string( 'alert_description' ); ?>><?php echo wp_kses_post( $settings['alert_description'] ); ?></span> | |
| 502 | + <span <?php $this->print_render_attribute_string( 'alert_description' ); ?>><?php $this->print_unescaped_setting( 'alert_description' ); ?></span> | |
| 503 | 503 | <?php endif; ?> |
| 504 | 504 | |
| 505 | 505 | <?php if ( 'show' === $settings['show_dismiss'] ) : ?> |
| 506 | 506 | <button type="button" class="elementor-alert-dismiss" aria-label="<?php echo esc_attr__( 'Dismiss this alert.', 'elementor' ); ?>"> |
| @@ -549,13 +549,13 @@ | ||
| 549 | 549 | #> |
| 550 | 550 | <div {{{ view.getRenderAttributeString( 'alert_wrapper' ) }}}> |
| 551 | 551 | |
| 552 | 552 | <# if ( settings.alert_title ) { #> |
| 553 | - <span {{{ view.getRenderAttributeString( 'alert_title' ) }}}>{{ settings.alert_title }}</span> | |
| 553 | + <span {{{ view.getRenderAttributeString( 'alert_title' ) }}}>{{{ settings.alert_title }}}</span> | |
| 554 | 554 | <# } #> |
| 555 | 555 | |
| 556 | 556 | <# if ( settings.alert_description ) { #> |
| 557 | - <span {{{ view.getRenderAttributeString( 'alert_description' ) }}}>{{ settings.alert_description }}</span> | |
| 557 | + <span {{{ view.getRenderAttributeString( 'alert_description' ) }}}>{{{ settings.alert_description }}}</span> | |
| 558 | 558 | <# } #> |
| 559 | 559 | |
| 560 | 560 | <# if ( 'show' === settings.show_dismiss ) { #> |
| 561 | 561 | <button type="button" class="elementor-alert-dismiss" aria-label="<?php echo esc_attr__( 'Dismiss this alert.', 'elementor' ); ?>"> |