PluginProbe
Gutenberg / 22.7.0
Gutenberg v22.7.0
24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 12.6.0 All 403 releases
← All changes | build/scripts/block-library/image.php +4 -4 23.2.222.7.0 View file →
@@ -204,10 +204,10 @@
204 204 'core/image',
205 205 array(
206 206 'defaultAriaLabel' => __( 'Enlarged image' ),
207 207 'closeButtonText' => esc_html__( 'Close' ),
208 - 'prevButtonText' => esc_html_x( 'Previous', 'previous image in lightbox' ),
209 - 'nextButtonText' => esc_html_x( 'Next', 'next image in lightbox' ),
208 + 'prevButtonText' => esc_html__( 'Previous' ),
209 + 'nextButtonText' => esc_html__( 'Next' ),
210 210 )
211 211 );
212 212
213 213 if ( $alt ) {
@@ -322,10 +322,10 @@
322 322 */
323 323 function gutenberg_block_core_image_print_lightbox_overlay() {
324 324 $dialog_label = esc_attr__( 'Enlarged images' );
325 325 $close_button_text = esc_attr__( 'Close' );
326 - $prev_button_text = esc_attr_x( 'Previous', 'previous image in lightbox' );
327 - $next_button_text = esc_attr_x( 'Next', 'next image in lightbox' );
326 + $prev_button_text = esc_attr__( 'Previous' );
327 + $next_button_text = esc_attr__( 'Next' );
328 328 $close_button_icon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="20" height="20" aria-hidden="true" focusable="false"><path d="m13.06 12 6.47-6.47-1.06-1.06L12 10.94 5.53 4.47 4.47 5.53 10.94 12l-6.47 6.47 1.06 1.06L12 13.06l6.47 6.47 1.06-1.06L13.06 12Z"></path></svg>';
329 329 $prev_button_icon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="28" height="28" aria-hidden="true" focusable="false"><path d="M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"></path></svg>';
330 330 $next_button_icon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="28" height="28" aria-hidden="true" focusable="false"><path d="M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"></path></svg>';
331 331