Gutenberg - Version 12.5.3

Version Description

Download this release

Release Info

Developer gutenbergplugin
Plugin Icon 128x128 Gutenberg
Version 12.5.3
Comparing to
See all releases

Code changes from version 12.5.2 to 12.5.3

build/block-library/blocks/query-pagination-next.php CHANGED
@@ -21,7 +21,7 @@ function gutenberg_render_block_core_query_pagination_next( $attributes, $conten
21
 
22
  $wrapper_attributes = get_block_wrapper_attributes();
23
  $default_label = __( 'Next Page' );
24
- $label = isset( $attributes['label'] ) && ! empty( $attributes['label'] ) ? $attributes['label'] : $default_label;
25
  $pagination_arrow = get_query_pagination_arrow( $block, true );
26
 
27
  if ( $pagination_arrow ) {
@@ -51,7 +51,7 @@ function gutenberg_render_block_core_query_pagination_next( $attributes, $conten
51
  '<a href="%1$s" %2$s>%3$s</a>',
52
  esc_url( add_query_arg( $page_key, $page + 1 ) ),
53
  $wrapper_attributes,
54
- esc_html( $label )
55
  );
56
  }
57
  wp_reset_postdata(); // Restore original Post Data.
21
 
22
  $wrapper_attributes = get_block_wrapper_attributes();
23
  $default_label = __( 'Next Page' );
24
+ $label = isset( $attributes['label'] ) && ! empty( $attributes['label'] ) ? esc_html( $attributes['label'] ) : $default_label;
25
  $pagination_arrow = get_query_pagination_arrow( $block, true );
26
 
27
  if ( $pagination_arrow ) {
51
  '<a href="%1$s" %2$s>%3$s</a>',
52
  esc_url( add_query_arg( $page_key, $page + 1 ) ),
53
  $wrapper_attributes,
54
+ $label
55
  );
56
  }
57
  wp_reset_postdata(); // Restore original Post Data.
build/block-library/blocks/query-pagination-previous.php CHANGED
@@ -20,7 +20,7 @@ function gutenberg_render_block_core_query_pagination_previous( $attributes, $co
20
 
21
  $wrapper_attributes = get_block_wrapper_attributes();
22
  $default_label = __( 'Previous Page' );
23
- $label = isset( $attributes['label'] ) && ! empty( $attributes['label'] ) ? $attributes['label'] : $default_label;
24
  $pagination_arrow = get_query_pagination_arrow( $block, false );
25
  if ( $pagination_arrow ) {
26
  $label = $pagination_arrow . $label;
@@ -41,7 +41,7 @@ function gutenberg_render_block_core_query_pagination_previous( $attributes, $co
41
  '<a href="%1$s" %2$s>%3$s</a>',
42
  esc_url( add_query_arg( $page_key, $page - 1 ) ),
43
  $wrapper_attributes,
44
- esc_html( $label )
45
  );
46
  }
47
  return $content;
20
 
21
  $wrapper_attributes = get_block_wrapper_attributes();
22
  $default_label = __( 'Previous Page' );
23
+ $label = isset( $attributes['label'] ) && ! empty( $attributes['label'] ) ? esc_html( $attributes['label'] ) : $default_label;
24
  $pagination_arrow = get_query_pagination_arrow( $block, false );
25
  if ( $pagination_arrow ) {
26
  $label = $pagination_arrow . $label;
41
  '<a href="%1$s" %2$s>%3$s</a>',
42
  esc_url( add_query_arg( $page_key, $page - 1 ) ),
43
  $wrapper_attributes,
44
+ $label
45
  );
46
  }
47
  return $content;
changelog.txt CHANGED
@@ -1,16 +1,24 @@
1
  == Changelog ==
2
 
3
- = 12.5.2 =
4
 
5
-
6
-
7
  ### Bug Fixes
8
 
9
  #### Block Library
10
- - Fix latest posts excerpt escaping. ([38517](https://github.com/WordPress/gutenberg/pull/38517))
11
-
12
-
13
-
 
 
 
 
 
 
 
 
 
 
14
 
15
 
16
  = 12.5.1 =
1
  == Changelog ==
2
 
3
+ = 12.5.3 =
4
 
 
 
5
  ### Bug Fixes
6
 
7
  #### Block Library
8
+ - Fix escaping to consider addition of pagination arrow in Query Loop. ([38519](https://github.com/WordPress/gutenberg/pull/38519))
9
+
10
+
11
+ = 12.5.2 =
12
+
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ #### Block Library
18
+ - Fix latest posts excerpt escaping. ([38517](https://github.com/WordPress/gutenberg/pull/38517))
19
+
20
+
21
+
22
 
23
 
24
  = 12.5.1 =
gutenberg.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Printing since 1440. This is the development plugin for the new block editor in core.
6
  * Requires at least: 5.7
7
  * Requires PHP: 5.6
8
- * Version: 12.5.2
9
  * Author: Gutenberg Team
10
  * Text Domain: gutenberg
11
  *
@@ -13,8 +13,8 @@
13
  */
14
 
15
  ### BEGIN AUTO-GENERATED DEFINES
16
- define( 'GUTENBERG_VERSION', '12.5.2' );
17
- define( 'GUTENBERG_GIT_COMMIT', 'ffc48315e99974cdefd0a0ba730505808d47902c' );
18
  ### END AUTO-GENERATED DEFINES
19
 
20
  gutenberg_pre_init();
5
  * Description: Printing since 1440. This is the development plugin for the new block editor in core.
6
  * Requires at least: 5.7
7
  * Requires PHP: 5.6
8
+ * Version: 12.5.3
9
  * Author: Gutenberg Team
10
  * Text Domain: gutenberg
11
  *
13
  */
14
 
15
  ### BEGIN AUTO-GENERATED DEFINES
16
+ define( 'GUTENBERG_VERSION', '12.5.3' );
17
+ define( 'GUTENBERG_GIT_COMMIT', 'fd9272e4d6dfb8389d7a9a59c5bfb84326aa4357' );
18
  ### END AUTO-GENERATED DEFINES
19
 
20
  gutenberg_pre_init();
readme.txt CHANGED
@@ -1,7 +1,7 @@
1
  === Gutenberg ===
2
  Contributors: matveb, joen, karmatosed
3
  Tested up to: 5.9
4
- Stable tag: 12.5.1
5
  License: GPLv2 or later
6
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
 
@@ -56,4 +56,4 @@ The four phases of the project are Editing, Customization, Collaboration, and Mu
56
 
57
  == Changelog ==
58
 
59
- To read the changelog for Gutenberg 12.5.2, please navigate to the <a href="https://github.com/WordPress/gutenberg/releases/tag/v12.5.2">release page</a>.
1
  === Gutenberg ===
2
  Contributors: matveb, joen, karmatosed
3
  Tested up to: 5.9
4
+ Stable tag: 12.5.2
5
  License: GPLv2 or later
6
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
 
56
 
57
  == Changelog ==
58
 
59
+ To read the changelog for Gutenberg 12.5.3, please navigate to the <a href="https://github.com/WordPress/gutenberg/releases/tag/v12.5.3">release page</a>.