| @@ -257,10 +257,10 @@ | ||
| 257 | 257 | [ |
| 258 | 258 | 'label' => esc_html__( 'Alignment', 'elementor' ), |
| 259 | 259 | 'type' => Controls_Manager::CHOOSE, |
| 260 | 260 | 'options' => [ |
| 261 | - 'start' => [ | |
| 262 | - 'title' => esc_html__( 'Start', 'elementor' ), | |
| 261 | + 'left' => [ | |
| 262 | + 'title' => esc_html__( 'Left', 'elementor' ), | |
| 263 | 263 | 'icon' => 'eicon-text-align-left', |
| 264 | 264 | ], |
| 265 | 265 | 'center' => [ |
| 266 | 266 | 'title' => esc_html__( 'Center', 'elementor' ), |
| @@ -265,10 +265,10 @@ | ||
| 265 | 265 | 'center' => [ |
| 266 | 266 | 'title' => esc_html__( 'Center', 'elementor' ), |
| 267 | 267 | 'icon' => 'eicon-text-align-center', |
| 268 | 268 | ], |
| 269 | - 'end' => [ | |
| 270 | - 'title' => esc_html__( 'End', 'elementor' ), | |
| 269 | + 'right' => [ | |
| 270 | + 'title' => esc_html__( 'Right', 'elementor' ), | |
| 271 | 271 | 'icon' => 'eicon-text-align-right', |
| 272 | 272 | ], |
| 273 | 273 | 'justify' => [ |
| 274 | 274 | 'title' => esc_html__( 'Justified', 'elementor' ), |
| @@ -274,13 +274,8 @@ | ||
| 274 | 274 | 'title' => esc_html__( 'Justified', 'elementor' ), |
| 275 | 275 | 'icon' => 'eicon-text-align-justify', |
| 276 | 276 | ], |
| 277 | 277 | ], |
| 278 | - 'classes' => 'elementor-control-start-end', | |
| 279 | - 'selectors_dictionary' => [ | |
| 280 | - 'left' => is_rtl() ? 'end' : 'start', | |
| 281 | - 'right' => is_rtl() ? 'start' : 'end', | |
| 282 | - ], | |
| 283 | 278 | 'selectors' => [ |
| 284 | 279 | '{{WRAPPER}}' => 'text-align: {{VALUE}};', |
| 285 | 280 | ], |
| 286 | 281 | 'separator' => 'after', |
| @@ -605,11 +600,10 @@ | ||
| 605 | 600 | ?> |
| 606 | 601 | <?php if ( $should_render_inline_editing ) { ?> |
| 607 | 602 | <div <?php $this->print_render_attribute_string( 'editor' ); ?>> |
| 608 | 603 | <?php } ?> |
| 609 | - <?php // PHPCS - DO NOT REMOVE THIS ECHO - THE MAIN TEXT OF A WIDGET SHOULD NOT BE ESCAPED! | |
| 610 | - echo $editor_content; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped | |
| 611 | - ?> | |
| 604 | + <?php // PHPCS - the main text of a widget should not be escaped. | |
| 605 | + echo $editor_content; // phpcs:ignore WordPress.Security.EscapeOutput ?> | |
| 612 | 606 | <?php if ( $should_render_inline_editing ) { ?> |
| 613 | 607 | </div> |
| 614 | 608 | <?php } ?> |
| 615 | 609 | <?php |