PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / 28.5
Yoast SEO – Advanced SEO with real-time guidance and built-in AI v28.5
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
← All changes | admin/views/partial-notifications-template.php +6 -4 18.428.5 View file →
@@ -34,9 +34,10 @@
34 34 switch ( $status ) {
35 35 case 'active':
36 36 $button = sprintf(
37 37 '<button type="button" class="button dismiss"><span class="screen-reader-text">%1$s</span><span class="dashicons dashicons-hidden"></span></button>',
38 - esc_html__( 'Hide this item.', 'wordpress-seo' )
38 + /* translators: Hidden accessibility text. */
39 + esc_html__( 'Hide this item.', 'wordpress-seo' ),
39 40 );
40 41 break;
41 42
42 43 case 'dismissed':
@@ -41,9 +42,10 @@
41 42
42 43 case 'dismissed':
43 44 $button = sprintf(
44 45 '<button type="button" class="button restore"><span class="screen-reader-text">%1$s</span><span class="dashicons yoast-svg-icon-eye"></span></button>',
45 - esc_html__( 'Show this item.', 'wordpress-seo' )
46 + /* translators: Hidden accessibility text. */
47 + esc_html__( 'Show this item.', 'wordpress-seo' ),
46 48 );
47 49 break;
48 50 }
49 51
@@ -54,9 +56,9 @@
54 56 esc_attr( $notification->get_json() ),
55 57 // This needs to be fixed in https://github.com/Yoast/wordpress-seo-premium/issues/2548.
56 58 $notification,
57 59 // Note: $button is properly escaped above.
58 - $button
60 + $button,
59 61 );
60 62 }
61 63
62 64 return $notifications;
@@ -98,9 +100,9 @@
98 100 'class' => 'yoast-notifications-dismissed',
99 101 'content' => _yoast_display_notifications( $yoast_seo_dismissed, 'dismissed' ),
100 102 'collapsible' => true,
101 103 'collapsible_header_class' => 'yoast-notification',
102 - ]
104 + ],
103 105 );
104 106 // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Reason: get_output() output is properly escaped.
105 107 echo $dismissed_paper->get_output();
106 108 }