← All changes
|
modules/floating-buttons/classes/render/contact-buttons-render-base.php
+7
-7
4.1.0-beta1
→
3.26.4
View file →
| @@ -82,10 +82,10 @@ | ||
| 82 | 82 | $this->widget->add_render_attribute( 'button', [ |
| 83 | 83 | 'class' => $button_classnames, |
| 84 | 84 | 'aria-controls' => 'e-contact-buttons__content-wrapper', |
| 85 | 85 | 'aria-label' => sprintf( |
| 86 | - /* translators: %s: Accessible name. */ | |
| 87 | - esc_html__( 'Toggle %s', 'elementor' ), | |
| 86 | + /* translators: 1: Accessible name. */ | |
| 87 | + esc_html__( 'Toggle %1$s', 'elementor' ), | |
| 88 | 88 | $accessible_name, |
| 89 | 89 | ), |
| 90 | 90 | 'type' => 'button', |
| 91 | 91 | ] ); |
| @@ -107,10 +107,10 @@ | ||
| 107 | 107 | $this->widget->add_render_attribute( 'close-button', [ |
| 108 | 108 | 'class' => 'e-contact-buttons__close-button', |
| 109 | 109 | 'aria-controls' => 'e-contact-buttons__content-wrapper', |
| 110 | 110 | 'aria-label' => sprintf( |
| 111 | - /* translators: %s: Accessible name. */ | |
| 112 | - esc_html__( 'Close %s', 'elementor' ), | |
| 111 | + /* translators: 1: Accessible name. */ | |
| 112 | + esc_html__( 'Close %1$s', 'elementor' ), | |
| 113 | 113 | $accessible_name, |
| 114 | 114 | ), |
| 115 | 115 | 'type' => 'button', |
| 116 | 116 | ] ); |
| @@ -162,9 +162,9 @@ | ||
| 162 | 162 | 'src' => esc_url( $profile_image_value['url'] ), |
| 163 | 163 | ] ); |
| 164 | 164 | ?> |
| 165 | 165 | <img <?php echo $this->widget->get_render_attribute_string( 'profile-image-src' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> /> |
| 166 | - <?php } ?> | |
| 166 | + <?php }; ?> | |
| 167 | 167 | </div> |
| 168 | 168 | |
| 169 | 169 | <div class="e-contact-buttons__top-bar-details"> |
| 170 | 170 | <?php if ( $has_top_bar_title ) { ?> |
| @@ -265,10 +265,10 @@ | ||
| 265 | 265 | <?php |
| 266 | 266 | foreach ( $contact_icons as $key => $icon ) { |
| 267 | 267 | $icon_text_mapping = Social_Network_Provider::get_text_mapping( $icon['contact_icon_platform'] ); |
| 268 | 268 | $aria_label = sprintf( |
| 269 | - /* translators: %s: Platform name. */ | |
| 270 | - esc_html__( 'Open %s', 'elementor' ), | |
| 269 | + /* translators: 1: Platform name. */ | |
| 270 | + esc_html__( 'Open %1$s', 'elementor' ), | |
| 271 | 271 | $icon_text_mapping, |
| 272 | 272 | ); |
| 273 | 273 | |
| 274 | 274 | $link = [ |