| @@ -258,9 +258,9 @@ | ||
| 258 | 258 | ], |
| 259 | 259 | ], |
| 260 | 260 | [ |
| 261 | 261 | 'social_icon' => [ |
| 262 | - 'value' => 'fab fa-x-twitter', | |
| 262 | + 'value' => 'fab fa-twitter', | |
| 263 | 263 | 'library' => 'fa-brands', |
| 264 | 264 | ], |
| 265 | 265 | ], |
| 266 | 266 | [ |
| @@ -310,8 +310,11 @@ | ||
| 310 | 310 | ], |
| 311 | 311 | ] |
| 312 | 312 | ); |
| 313 | 313 | |
| 314 | + $start = is_rtl() ? 'end' : 'start'; | |
| 315 | + $end = is_rtl() ? 'start' : 'end'; | |
| 316 | + | |
| 314 | 317 | $align_selector = Plugin::$instance->experiments->is_feature_active( 'e_optimized_markup' ) && ! $this->has_widget_inner_wrapper() |
| 315 | 318 | ? '{{WRAPPER}}' |
| 316 | 319 | : '{{WRAPPER}} .elementor-widget-container'; |
| 317 | 320 | |
| @@ -599,9 +602,9 @@ | ||
| 599 | 602 | } |
| 600 | 603 | |
| 601 | 604 | $fallback_defaults = [ |
| 602 | 605 | 'fa fa-facebook', |
| 603 | - 'fa fa-x-twitter', | |
| 606 | + 'fa fa-twitter', | |
| 604 | 607 | 'fa fa-google-plus', |
| 605 | 608 | ]; |
| 606 | 609 | |
| 607 | 610 | $class_animation = ''; |
| @@ -657,11 +660,11 @@ | ||
| 657 | 660 | <a <?php $this->print_render_attribute_string( $link_key ); ?>> |
| 658 | 661 | <span class="elementor-screen-only"><?php echo esc_html( ucwords( $social ) ); ?></span> |
| 659 | 662 | <?php |
| 660 | 663 | if ( $is_new || $migrated ) { |
| 661 | - Icons_Manager::render_icon( $item['social_icon'], [ 'aria-hidden' => 'true' ] ); | |
| 664 | + Icons_Manager::render_icon( $item['social_icon'] ); | |
| 662 | 665 | } else { ?> |
| 663 | - <i class="<?php echo esc_attr( $item['social'] ); ?>" aria-hidden="true"></i> | |
| 666 | + <i class="<?php echo esc_attr( $item['social'] ); ?>"></i> | |
| 664 | 667 | <?php } ?> |
| 665 | 668 | </a> |
| 666 | 669 | </span> |
| 667 | 670 | <?php } ?> |