| @@ -33,16 +33,8 @@ | ||
| 33 | 33 | protected function is_dynamic_content(): bool { |
| 34 | 34 | return false; |
| 35 | 35 | } |
| 36 | 36 | |
| 37 | - public function get_style_depends(): array { | |
| 38 | - return [ 'widget-rating' ]; | |
| 39 | - } | |
| 40 | - | |
| 41 | - public function has_widget_inner_wrapper(): bool { | |
| 42 | - return ! Plugin::$instance->experiments->is_feature_active( 'e_optimized_markup' ); | |
| 43 | - } | |
| 44 | - | |
| 45 | 37 | /** |
| 46 | 38 | * @return void |
| 47 | 39 | */ |
| 48 | 40 | private function add_style_tab() { |
| @@ -304,11 +296,9 @@ | ||
| 304 | 296 | 'class' => 'e-rating-wrapper', |
| 305 | 297 | 'itemprop' => 'ratingValue', |
| 306 | 298 | 'content' => $this->get_rating_value(), |
| 307 | 299 | 'role' => 'img', |
| 308 | - 'aria-label' => sprintf( | |
| 309 | - /* translators: 1: Rating value, 2: Rating scale. */ | |
| 310 | - esc_html__( 'Rated %1$s out of %2$s', 'elementor' ), | |
| 300 | + 'aria-label' => sprintf( esc_html__( 'Rated %1$s out of %2$s', 'elementor' ), | |
| 311 | 301 | $this->get_rating_value(), |
| 312 | 302 | $this->get_rating_scale() |
| 313 | 303 | ), |
| 314 | 304 | ] ); |