| @@ -77,9 +77,10 @@ | ||
| 77 | 77 | |
| 78 | 78 | $assets_uri = trailingslashit( plugin_dir_url( WPSEO_FILE ) ); |
| 79 | 79 | |
| 80 | 80 | /* translators: %s expands to Yoast SEO Premium */ |
| 81 | - $cta_text = esc_html( sprintf( __( 'Get %s', 'wordpress-seo' ), 'Yoast SEO Premium' ) ); | |
| 81 | + $cta_text = esc_html( sprintf( __( 'Get %s', 'wordpress-seo' ), 'Yoast SEO Premium' ) ); | |
| 82 | + /* translators: Hidden accessibility text. */ | |
| 82 | 83 | $new_tab_message = '<span class="screen-reader-text">' . esc_html__( '(Opens in a new browser tab)', 'wordpress-seo' ) . '</span>'; |
| 83 | 84 | $caret_icon = '<span aria-hidden="true" class="yoast-button-upsell__caret"></span>'; |
| 84 | 85 | $classes = ''; |
| 85 | 86 | if ( $popup ) { |
| @@ -88,9 +89,9 @@ | ||
| 88 | 89 | $micro_copy = __( '1 year free support and updates included!', 'wordpress-seo' ); |
| 89 | 90 | |
| 90 | 91 | $popup = <<<EO_POPUP |
| 91 | 92 | <div id="wpseo-{$this->identifier}-popup" class="wpseo-premium-popup wp-clearfix$classes"> |
| 92 | - <img class="alignright wpseo-premium-popup-icon" src="{$assets_uri}packages/js/images/Yoast_SEO_Icon.svg" width="150" height="150" alt="Yoast SEO"/> | |
| 93 | + <img class="alignright wpseo-premium-popup-icon" src="{$assets_uri}packages/js/images/Yoast_SEO_Icon.svg" width="150" height="150" alt="Yoast SEO" /> | |
| 93 | 94 | <{$this->heading_level} id="wpseo-contact-support-popup-title" class="wpseo-premium-popup-title">{$this->title}</{$this->heading_level}> |
| 94 | 95 | {$this->content} |
| 95 | 96 | <a id="wpseo-{$this->identifier}-popup-button" class="yoast-button-upsell" href="{$this->url}" target="_blank"> |
| 96 | 97 | {$cta_text} {$new_tab_message} {$caret_icon} |