Version Description
Download this release
Release Info
Developer | gutenbergplugin |
Plugin | Gutenberg |
Version | 14.3.1 |
Comparing to | |
See all releases |
Code changes from version 14.3.0 to 14.3.1
- build/block-library/blocks/navigation.php +1 -1
- build/block-library/blocks/rss.php +3 -3
- build/block-library/blocks/search.php +5 -5
- build/widgets/blocks/legacy-widget.php +1 -1
- build/widgets/blocks/widget-group.php +1 -1
- changelog.txt +264 -239
- gutenberg.php +3 -3
- readme.txt +1 -1
build/block-library/blocks/navigation.php
CHANGED
@@ -649,7 +649,7 @@ function gutenberg_render_block_core_navigation( $attributes, $content, $block )
|
|
649 |
$toggle_aria_label_close,
|
650 |
esc_attr( implode( ' ', $responsive_container_classes ) ),
|
651 |
esc_attr( implode( ' ', $open_button_classes ) ),
|
652 |
-
safecss_filter_attr( $colors['overlay_inline_styles'] ),
|
653 |
__( 'Menu' ),
|
654 |
$toggle_button_content,
|
655 |
$toggle_close_button_content
|
649 |
$toggle_aria_label_close,
|
650 |
esc_attr( implode( ' ', $responsive_container_classes ) ),
|
651 |
esc_attr( implode( ' ', $open_button_classes ) ),
|
652 |
+
esc_attr( safecss_filter_attr( $colors['overlay_inline_styles'] ) ),
|
653 |
__( 'Menu' ),
|
654 |
$toggle_button_content,
|
655 |
$toggle_close_button_content
|
build/block-library/blocks/rss.php
CHANGED
@@ -20,7 +20,7 @@ function gutenberg_render_block_core_rss( $attributes ) {
|
|
20 |
$rss = fetch_feed( $attributes['feedURL'] );
|
21 |
|
22 |
if ( is_wp_error( $rss ) ) {
|
23 |
-
return '<div class="components-placeholder"><div class="notice notice-error"><strong>' . __( 'RSS Error:' ) . '</strong> ' . $rss->get_error_message() . '</div></div>';
|
24 |
}
|
25 |
|
26 |
if ( ! $rss->get_item_quantity() ) {
|
@@ -48,8 +48,8 @@ function gutenberg_render_block_core_rss( $attributes ) {
|
|
48 |
if ( $date ) {
|
49 |
$date = sprintf(
|
50 |
'<time datetime="%1$s" class="wp-block-rss__item-publish-date">%2$s</time> ',
|
51 |
-
date_i18n( get_option( 'c' ), $date ),
|
52 |
-
date_i18n( get_option( 'date_format' ), $date )
|
53 |
);
|
54 |
}
|
55 |
}
|
20 |
$rss = fetch_feed( $attributes['feedURL'] );
|
21 |
|
22 |
if ( is_wp_error( $rss ) ) {
|
23 |
+
return '<div class="components-placeholder"><div class="notice notice-error"><strong>' . __( 'RSS Error:' ) . '</strong> ' . esc_html( $rss->get_error_message() ) . '</div></div>';
|
24 |
}
|
25 |
|
26 |
if ( ! $rss->get_item_quantity() ) {
|
48 |
if ( $date ) {
|
49 |
$date = sprintf(
|
50 |
'<time datetime="%1$s" class="wp-block-rss__item-publish-date">%2$s</time> ',
|
51 |
+
esc_attr( date_i18n( get_option( 'c' ), $date ) ),
|
52 |
+
esc_attr( date_i18n( get_option( 'date_format' ), $date ) )
|
53 |
);
|
54 |
}
|
55 |
}
|
build/block-library/blocks/search.php
CHANGED
@@ -367,12 +367,12 @@ function gutenberg_styles_for_block_core_search( $attributes ) {
|
|
367 |
// Add color styles.
|
368 |
$has_text_color = ! empty( $attributes['style']['color']['text'] );
|
369 |
if ( $has_text_color ) {
|
370 |
-
$button_styles[] = sprintf( 'color: %s;',
|
371 |
}
|
372 |
|
373 |
$has_background_color = ! empty( $attributes['style']['color']['background'] );
|
374 |
if ( $has_background_color ) {
|
375 |
-
$button_styles[] = sprintf( 'background-color: %s;',
|
376 |
}
|
377 |
|
378 |
$has_custom_gradient = ! empty( $attributes['style']['color']['gradient'] );
|
@@ -399,9 +399,9 @@ function gutenberg_styles_for_block_core_search( $attributes ) {
|
|
399 |
}
|
400 |
|
401 |
return array(
|
402 |
-
'input' => ! empty( $input_styles ) ? sprintf( ' style="%s"', safecss_filter_attr( implode( ' ', $input_styles ) ) ) : '',
|
403 |
-
'button' => ! empty( $button_styles ) ? sprintf( ' style="%s"', safecss_filter_attr( implode( ' ', $button_styles ) ) ) : '',
|
404 |
-
'wrapper' => ! empty( $wrapper_styles ) ? sprintf( ' style="%s"', safecss_filter_attr( implode( ' ', $wrapper_styles ) ) ) : '',
|
405 |
'label' => ! empty( $label_styles ) ? sprintf( ' style="%s"', esc_attr( safecss_filter_attr( implode( ' ', $label_styles ) ) ) ) : '',
|
406 |
);
|
407 |
}
|
367 |
// Add color styles.
|
368 |
$has_text_color = ! empty( $attributes['style']['color']['text'] );
|
369 |
if ( $has_text_color ) {
|
370 |
+
$button_styles[] = sprintf( 'color: %s;', $attributes['style']['color']['text'] );
|
371 |
}
|
372 |
|
373 |
$has_background_color = ! empty( $attributes['style']['color']['background'] );
|
374 |
if ( $has_background_color ) {
|
375 |
+
$button_styles[] = sprintf( 'background-color: %s;', $attributes['style']['color']['background'] );
|
376 |
}
|
377 |
|
378 |
$has_custom_gradient = ! empty( $attributes['style']['color']['gradient'] );
|
399 |
}
|
400 |
|
401 |
return array(
|
402 |
+
'input' => ! empty( $input_styles ) ? sprintf( ' style="%s"', esc_attr( safecss_filter_attr( implode( ' ', $input_styles ) ) ) ) : '',
|
403 |
+
'button' => ! empty( $button_styles ) ? sprintf( ' style="%s"', esc_attr( safecss_filter_attr( implode( ' ', $button_styles ) ) ) ) : '',
|
404 |
+
'wrapper' => ! empty( $wrapper_styles ) ? sprintf( ' style="%s"', esc_attr( safecss_filter_attr( implode( ' ', $wrapper_styles ) ) ) ) : '',
|
405 |
'label' => ! empty( $label_styles ) ? sprintf( ' style="%s"', esc_attr( safecss_filter_attr( implode( ' ', $label_styles ) ) ) ) : '',
|
406 |
);
|
407 |
}
|
build/widgets/blocks/legacy-widget.php
CHANGED
@@ -34,7 +34,7 @@ function gutenberg_render_block_core_legacy_widget( $attributes ) {
|
|
34 |
|
35 |
if ( isset( $attributes['instance']['encoded'], $attributes['instance']['hash'] ) ) {
|
36 |
$serialized_instance = base64_decode( $attributes['instance']['encoded'] );
|
37 |
-
if ( wp_hash( $serialized_instance )
|
38 |
return '';
|
39 |
}
|
40 |
$instance = unserialize( $serialized_instance );
|
34 |
|
35 |
if ( isset( $attributes['instance']['encoded'], $attributes['instance']['hash'] ) ) {
|
36 |
$serialized_instance = base64_decode( $attributes['instance']['encoded'] );
|
37 |
+
if ( ! hash_equals( wp_hash( $serialized_instance ), (string) $attributes['instance']['hash'] ) ) {
|
38 |
return '';
|
39 |
}
|
40 |
$instance = unserialize( $serialized_instance );
|
build/widgets/blocks/widget-group.php
CHANGED
@@ -28,7 +28,7 @@ function gutenberg_render_block_core_widget_group( $attributes, $content, $block
|
|
28 |
$html = '';
|
29 |
|
30 |
if ( ! empty( $attributes['title'] ) ) {
|
31 |
-
$html .= $before_title . $attributes['title'] . $after_title;
|
32 |
}
|
33 |
|
34 |
$html .= '<div class="wp-widget-group__inner-blocks">';
|
28 |
$html = '';
|
29 |
|
30 |
if ( ! empty( $attributes['title'] ) ) {
|
31 |
+
$html .= $before_title . esc_html( $attributes['title'] ) . $after_title;
|
32 |
}
|
33 |
|
34 |
$html .= '<div class="wp-widget-group__inner-blocks">';
|
changelog.txt
CHANGED
@@ -1,263 +1,288 @@
|
|
1 |
== Changelog ==
|
2 |
|
3 |
-
= 14.3.
|
4 |
|
5 |
|
6 |
-
## Changelog
|
7 |
-
|
8 |
-
### Enhancements
|
9 |
-
|
10 |
-
#### Post Editor
|
11 |
-
- Optimize legacy post content layout. ([44506](https://github.com/WordPress/gutenberg/pull/44506))
|
12 |
-
- Remove right border when sidebars are closed. ([44613](https://github.com/WordPress/gutenberg/pull/44613))
|
13 |
-
|
14 |
-
#### Block Library
|
15 |
-
- Comment Pagination Numbers: Add background color. ([43902](https://github.com/WordPress/gutenberg/pull/43902))
|
16 |
-
- Navigation Submenu: Use `get_queried_object_id` when setting `current-menu-item` classes. ([44474](https://github.com/WordPress/gutenberg/pull/44474))
|
17 |
-
- Post Author: Include option to link author archive. ([42670](https://github.com/WordPress/gutenberg/pull/42670))
|
18 |
-
- Post Terms: Add spacing support. ([43646](https://github.com/WordPress/gutenberg/pull/43646))
|
19 |
-
- Query Loop: Hide instructions for FormTokenField. ([44641](https://github.com/WordPress/gutenberg/pull/44641))
|
20 |
-
- Tag Cloud: Remove `strtolower` around taxonomy name. ([16112](https://github.com/WordPress/gutenberg/pull/16112))
|
21 |
-
- Video: Update placeholder style. ([44215](https://github.com/WordPress/gutenberg/pull/44215))
|
22 |
-
|
23 |
-
#### Components
|
24 |
-
- FontSizePicker: Make control take up full width. ([44559](https://github.com/WordPress/gutenberg/pull/44559))
|
25 |
-
- Placeholder: Remove unnecessary background color. ([44497](https://github.com/WordPress/gutenberg/pull/44497))
|
26 |
-
- Placeholder: Update placeholder style. ([44190](https://github.com/WordPress/gutenberg/pull/44190))
|
27 |
-
- ToggleGroupControl: Fix unselected icon color. ([44575](https://github.com/WordPress/gutenberg/pull/44575))
|
28 |
-
- ToolsPanel: Add subheadings and reset text to tools panel menu. ([44260](https://github.com/WordPress/gutenberg/pull/44260))
|
29 |
-
|
30 |
-
#### Block API
|
31 |
-
- Blocks: Deprecate non-string descriptions. ([44455](https://github.com/WordPress/gutenberg/pull/44455))
|
32 |
-
- Tag Processor: Document and test XSS prevention in set_attribute. ([44447](https://github.com/WordPress/gutenberg/pull/44447))
|
33 |
-
- Tag Processor: Throw error when supplied with unacceptable attribute names. ([44431](https://github.com/WordPress/gutenberg/pull/44431))
|
34 |
-
- Tag Processor: Use (start,length) values for tracking tag name. ([44479](https://github.com/WordPress/gutenberg/pull/44479))
|
35 |
-
- Tag processor: Update 'since' version tags to 6.2.0. ([44432](https://github.com/WordPress/gutenberg/pull/44432))
|
36 |
-
|
37 |
-
#### Global Styles
|
38 |
-
- Hide the done button of the Global Style palette editor when there aren't colors to edit. ([44372](https://github.com/WordPress/gutenberg/pull/44372))
|
39 |
-
- Use ToolsPanel in Global Styles → Typography. ([44180](https://github.com/WordPress/gutenberg/pull/44180))
|
40 |
-
|
41 |
-
#### Block Editor
|
42 |
-
- Allow dropping an image on an empty paragraph block to create an image block. ([42722](https://github.com/WordPress/gutenberg/pull/42722))
|
43 |
-
- Writing flow: Implement Alt+Arrow. ([44081](https://github.com/WordPress/gutenberg/pull/44081))
|
44 |
-
|
45 |
-
#### Site Editor
|
46 |
-
- Allow drag and drop for blocks and patterns in zoom-out mode. ([44402](https://github.com/WordPress/gutenberg/pull/44402))
|
47 |
|
48 |
-
|
49 |
-
- Use 'tertiary' in missing block warning. ([44368](https://github.com/WordPress/gutenberg/pull/44368))
|
50 |
-
|
51 |
-
|
52 |
-
### New APIs
|
53 |
-
|
54 |
-
#### Block Library
|
55 |
-
- WP_HTML_Tag_Processor: Inject dynamic data to block HTML markup in PHP. ([42485](https://github.com/WordPress/gutenberg/pull/42485))
|
56 |
-
|
57 |
-
|
58 |
-
### Bug Fixes
|
59 |
-
|
60 |
-
- Add a correct TS signature for useEntityRecords. ([44448](https://github.com/WordPress/gutenberg/pull/44448))
|
61 |
-
- BlockDraggable: Change prop name passed to children when dragging is disabled. ([44371](https://github.com/WordPress/gutenberg/pull/44371))
|
62 |
-
- Fix Lint warning/errors in cherry-pick script. ([44662](https://github.com/WordPress/gutenberg/pull/44662))
|
63 |
-
- Fix: Content blocks with nested blocks always appear as top level. ([44098](https://github.com/WordPress/gutenberg/pull/44098))
|
64 |
-
- Hide the Classic block in the Site Editor. ([44554](https://github.com/WordPress/gutenberg/pull/44554))
|
65 |
-
- PHP 8.2: Remove deprecated callable in Style Engine value functions. ([44561](https://github.com/WordPress/gutenberg/pull/44561))
|
66 |
-
- Persisted preferences: Fix context property of user meta configuration. ([44489](https://github.com/WordPress/gutenberg/pull/44489))
|
67 |
-
- Resizable editor: Fix height setting bug. ([44637](https://github.com/WordPress/gutenberg/pull/44637))
|
68 |
-
- Style engine: Kebab case preset slugs in the editor. ([44406](https://github.com/WordPress/gutenberg/pull/44406))
|
69 |
-
- Add submenu block href only if URL is not empty. ([44337](https://github.com/WordPress/gutenberg/pull/44337))
|
70 |
-
- Update Theme JSON `$schema` to allow pseudo selectors on `button` property. ([44303](https://github.com/WordPress/gutenberg/pull/44303))
|
71 |
-
- Preserve the generic signature of getEntityRecord and getEntityRecords through currying. ([44453](https://github.com/WordPress/gutenberg/pull/44453))
|
72 |
-
- Template editor: Fix crashes due to undefined vars. ([44482](https://github.com/WordPress/gutenberg/pull/44482))
|
73 |
-
- Add missing value to CSS font-display descriptor in theme.json. ([44622](https://github.com/WordPress/gutenberg/pull/44622))
|
74 |
-
- Rich text: Avoid updating partial selection unnecessarily. ([44330](https://github.com/WordPress/gutenberg/pull/44330))
|
75 |
-
- useMergeRefs: Don't call/mutate refs passed if unused. ([44629](https://github.com/WordPress/gutenberg/pull/44629))
|
76 |
-
|
77 |
-
#### Block Library
|
78 |
-
- Code Block: Add box-sizing to fix inconsistent layout. ([44580](https://github.com/WordPress/gutenberg/pull/44580))
|
79 |
-
- Comment Author: Fix empty links created for the author's name. ([44650](https://github.com/WordPress/gutenberg/pull/44650))
|
80 |
-
- Comments: Support nested comments settings in the comments blocks. ([44351](https://github.com/WordPress/gutenberg/pull/44351))
|
81 |
-
- Group: Legacy Group inner block wrapper should work with a constrained layout. ([44660](https://github.com/WordPress/gutenberg/pull/44660))
|
82 |
-
- Image: Fix rotated image crop area aspect ratio. ([44425](https://github.com/WordPress/gutenberg/pull/44425))
|
83 |
-
- Image: Upgrade react-easy-crop to bring in fix for site editor iframe. ([44408](https://github.com/WordPress/gutenberg/pull/44408))
|
84 |
-
- Navigation: Fix console error. ([44594](https://github.com/WordPress/gutenberg/pull/44594))
|
85 |
-
- Navigation: Fix semitransparent burger icon. ([44525](https://github.com/WordPress/gutenberg/pull/44525))
|
86 |
-
- Navigation: Try fixing link color in some TT2 contexts. ([44578](https://github.com/WordPress/gutenberg/pull/44578))
|
87 |
-
- Paragraph: Disable drop cap control if text is aligned. ([42326](https://github.com/WordPress/gutenberg/pull/42326))
|
88 |
-
- Post Featured Image: Fix borders after addition of overlay feature. ([44286](https://github.com/WordPress/gutenberg/pull/44286))
|
89 |
-
- Post Featured Image: Fix application of default border style in editor. ([44520](https://github.com/WordPress/gutenberg/pull/44520))
|
90 |
-
- Query Loop: Fix condition for displaying 'parents' control. ([44630](https://github.com/WordPress/gutenberg/pull/44630))
|
91 |
-
- Query Loop: Rename Query Loop variations `allowControls` to `allowedControls`. ([44523](https://github.com/WordPress/gutenberg/pull/44523))
|
92 |
-
- Quote block: Stop slash inserter popup showing in the citation. ([44634](https://github.com/WordPress/gutenberg/pull/44634))
|
93 |
-
- Site Title: Fix link color not being applied in editor #37071. ([44333](https://github.com/WordPress/gutenberg/pull/44333))
|
94 |
-
- Template part: Prevent adding block in post editor or inside post template or content blocks. ([44480](https://github.com/WordPress/gutenberg/pull/44480))
|
95 |
-
- Video: Don't display placeholder SVG when Video block selected. ([44564](https://github.com/WordPress/gutenberg/pull/44564))
|
96 |
-
|
97 |
-
|
98 |
-
#### Global Styles
|
99 |
-
- Fix empty color indicator with a custom style. ([44364](https://github.com/WordPress/gutenberg/pull/44364))
|
100 |
-
- Re-add styles that were removed for classic themes. ([44334](https://github.com/WordPress/gutenberg/pull/44334))
|
101 |
-
- Remove border from Global Styles previews. ([44556](https://github.com/WordPress/gutenberg/pull/44556))
|
102 |
-
- Spacing presets: Modify the styling of the input controls when in unlinked mode in order to better differentiate sides. ([44141](https://github.com/WordPress/gutenberg/pull/44141))
|
103 |
-
- Style cards: Fix focus style. ([44612](https://github.com/WordPress/gutenberg/pull/44612))
|
104 |
-
- Theme.json: Fix some shadow properties not working properly in the site editor. ([44569](https://github.com/WordPress/gutenberg/pull/44569))
|
105 |
-
- Use color hex + index as key in the Palette component color indicator. ([44344](https://github.com/WordPress/gutenberg/pull/44344))
|
106 |
-
|
107 |
-
#### Design Tools
|
108 |
-
- Fix padding/margin visualizer accuracy. ([44485](https://github.com/WordPress/gutenberg/pull/44485))
|
109 |
-
- Fix padding/margin visualizer placement. ([44484](https://github.com/WordPress/gutenberg/pull/44484))
|
110 |
-
- Fix spacing property generation in flow layout type. ([44446](https://github.com/WordPress/gutenberg/pull/44446))
|
111 |
-
|
112 |
-
#### Components
|
113 |
-
- BorderBoxControl: Ensure the most common unit selection is maintained. ([44565](https://github.com/WordPress/gutenberg/pull/44565))
|
114 |
-
- Popover: Fix limitShift logic by adding iframe offset correctly (and a custom shift limiter). ([42950](https://github.com/WordPress/gutenberg/pull/42950))
|
115 |
-
- Popover: Refine position-to-placement conversion logic, add tests. ([44377](https://github.com/WordPress/gutenberg/pull/44377))
|
116 |
-
- Navigator Screen: Fix bug where focus moved erroneously. ([44239](https://github.com/WordPress/gutenberg/pull/44239))
|
117 |
-
|
118 |
-
#### Block Editor
|
119 |
-
- Fix block search for non-Latin characters. ([44652](https://github.com/WordPress/gutenberg/pull/44652))
|
120 |
-
- Prevent empty block toolbars from showing empty slots. ([44704](https://github.com/WordPress/gutenberg/pull/44704))
|
121 |
-
|
122 |
-
#### Widgets Editor
|
123 |
-
- Add extra guarding against legacy widget preview errors. ([44635](https://github.com/WordPress/gutenberg/pull/44635))
|
124 |
-
|
125 |
-
#### Themes
|
126 |
-
- Theme export: Fix broken spacingScale export. ([44555](https://github.com/WordPress/gutenberg/pull/44555))
|
127 |
-
- Theme export: Stop slugs being cast to integers when a theme is exported. ([44589](https://github.com/WordPress/gutenberg/pull/44589))
|
128 |
-
|
129 |
-
#### Accessibility
|
130 |
-
- TokenInput field: Try alternative approach to fix screen reader focus issue. ([44526](https://github.com/WordPress/gutenberg/pull/44526))
|
131 |
-
|
132 |
-
#### Patterns
|
133 |
-
- Fix patterns drag and drop in Safari. ([44366](https://github.com/WordPress/gutenberg/pull/44366))
|
134 |
-
|
135 |
-
#### Post Editor
|
136 |
-
- Add layout styles from Post Content block to post editor. ([44258](https://github.com/WordPress/gutenberg/pull/44258))
|
137 |
-
|
138 |
-
|
139 |
-
### Performance
|
140 |
-
|
141 |
-
- Compose: Introduce an in-house `throttle()` utility, deprecate Lodash version. ([44225](https://github.com/WordPress/gutenberg/pull/44225))
|
142 |
-
- Improve Slot/Fill performance. ([44642](https://github.com/WordPress/gutenberg/pull/44642))
|
143 |
-
|
144 |
-
|
145 |
-
### Documentation
|
146 |
-
|
147 |
-
- Add documentation for extending the Query Loop block via variations. ([44137](https://github.com/WordPress/gutenberg/pull/44137))
|
148 |
-
- Add more details about possible values for block assets in `block.json`. ([44199](https://github.com/WordPress/gutenberg/pull/44199))
|
149 |
-
- Add missing import statement for useBlockProps. ([44607](https://github.com/WordPress/gutenberg/pull/44607))
|
150 |
-
- Instruct people to keep using `wp-scripts` even when extending webpack. ([44348](https://github.com/WordPress/gutenberg/pull/44348))
|
151 |
-
- Style engine: Updating and fleshing out documentation. ([44405](https://github.com/WordPress/gutenberg/pull/44405))
|
152 |
-
- Style engine: Update readme. ([44308](https://github.com/WordPress/gutenberg/pull/44308))
|
153 |
-
- Add callout for experimental packages. ([44056](https://github.com/WordPress/gutenberg/pull/44056))
|
154 |
-
- Expand class-level documentation for `WP_HTML_Tag_Processor`. ([44478](https://github.com/WordPress/gutenberg/pull/44478))
|
155 |
-
- Experiments: Add README.md and CHANGELOG.md. ([44457](https://github.com/WordPress/gutenberg/pull/44457))
|
156 |
-
- Remove the package name from the sub-menu item for clarity. ([44643](https://github.com/WordPress/gutenberg/pull/44643))
|
157 |
|
158 |
### Code Quality
|
159 |
|
160 |
-
- Avoid calling get_blocks_metadata in WP_Theme_JSON constructor. ([44658](https://github.com/WordPress/gutenberg/pull/44658))
|
161 |
-
- Block Popover: Use placement instead of position; move to useBlockToolbarPopoverProps hook. ([44323](https://github.com/WordPress/gutenberg/pull/44323))
|
162 |
-
- CS/QA: Various minor fixes. ([44551](https://github.com/WordPress/gutenberg/pull/44551))
|
163 |
-
- CS: Always use parentheses when instantiating objects. ([44550](https://github.com/WordPress/gutenberg/pull/44550))
|
164 |
-
- CS: Remove redundant parentheses for include/require statements. ([44544](https://github.com/WordPress/gutenberg/pull/44544))
|
165 |
-
- CS: Use pre-increment instead of post-increment. ([44549](https://github.com/WordPress/gutenberg/pull/44549))
|
166 |
-
- Fix comment typo in document generation tools. ([44583](https://github.com/WordPress/gutenberg/pull/44583))
|
167 |
-
- I18n: Use consistent string: 'Link rel'. ([20162](https://github.com/WordPress/gutenberg/pull/20162))
|
168 |
-
- PHP 8.2 | Fix deprecated embedded variables in text strings. ([44538](https://github.com/WordPress/gutenberg/pull/44538))
|
169 |
-
- PHP 8.2 | Fix for partially supported callback. ([44537](https://github.com/WordPress/gutenberg/pull/44537))
|
170 |
-
- PHPCS: Use PHPCompatibilityWP. ([44542](https://github.com/WordPress/gutenberg/pull/44542))
|
171 |
-
- QA: No control structures with empty body. ([44548](https://github.com/WordPress/gutenberg/pull/44548))
|
172 |
-
- Script loader: Remove 6.1 wp actions. ([44519](https://github.com/WordPress/gutenberg/pull/44519))
|
173 |
-
|
174 |
-
#### Components
|
175 |
-
- Components refactor `Mobile` to ignore `exhaustive-deps`. ([44207](https://github.com/WordPress/gutenberg/pull/44207))
|
176 |
-
- Convert FontSizePicker to TypeScript. ([44449](https://github.com/WordPress/gutenberg/pull/44449))
|
177 |
-
- FontSizePicker: Replace SCSS with Emotion + components. ([44483](https://github.com/WordPress/gutenberg/pull/44483))
|
178 |
-
- RangeControl: Remove unused UseDebouncedHoverInteractionArgs type. ([44411](https://github.com/WordPress/gutenberg/pull/44411))
|
179 |
-
- Refactor `Notice` to pass `exhaustive-deps`. ([44157](https://github.com/WordPress/gutenberg/pull/44157))
|
180 |
-
- Refactor `ResizableBox` to pass `exhaustive-deps`. ([44370](https://github.com/WordPress/gutenberg/pull/44370))
|
181 |
-
- Refactor `Sandbox` to pass `exhaustive-deps`. ([44378](https://github.com/WordPress/gutenberg/pull/44378))
|
182 |
-
- Refactor `SearchControl` native files to ignore `exhaustive-deps`. ([44381](https://github.com/WordPress/gutenberg/pull/44381))
|
183 |
-
|
184 |
#### Block Library
|
185 |
-
-
|
186 |
-
- Archive: No need to escape class variable. ([44468](https://github.com/WordPress/gutenberg/pull/44468))
|
187 |
-
- Gallery: Remove unnecessary caption state. ([44383](https://github.com/WordPress/gutenberg/pull/44383))
|
188 |
-
- Remove unnecessary `view.js` file from navigation-submenu block. ([44570](https://github.com/WordPress/gutenberg/pull/44570))
|
189 |
-
|
190 |
-
#### Plugin
|
191 |
-
- CS: All methods must declare visibility. ([44543](https://github.com/WordPress/gutenberg/pull/44543))
|
192 |
-
- Move `wp_enqueue_block_view_script` to experiments. ([44414](https://github.com/WordPress/gutenberg/pull/44414))
|
193 |
-
|
194 |
-
#### Layout
|
195 |
-
- Backport code quality changes from core to Gutenberg. ([44661](https://github.com/WordPress/gutenberg/pull/44661))
|
196 |
-
|
197 |
-
#### Parsing
|
198 |
-
- Block Serialization Default Parser: Bring back `no-more-tokens` type. ([44459](https://github.com/WordPress/gutenberg/pull/44459))
|
199 |
-
|
200 |
-
#### Global Styles
|
201 |
-
- Add `blocks` to the list of valid origins for `theme.json`. ([44363](https://github.com/WordPress/gutenberg/pull/44363))
|
202 |
-
|
203 |
-
#### Lodash
|
204 |
-
- Lodash: Remove completely from `@wordpress/compose` package. ([44568](https://github.com/WordPress/gutenberg/pull/44568))
|
205 |
-
- Lodash: Remove completely from `@wordpress/library-export-default-webpack-plugin` package. ([44571](https://github.com/WordPress/gutenberg/pull/44571))
|
206 |
-
- Lodash: Remove completely from `@wordpress/list-reusable-blocks` package. ([44567](https://github.com/WordPress/gutenberg/pull/44567))
|
207 |
-
- Lodash: Refactor away from `_.flow()`. ([44500](https://github.com/WordPress/gutenberg/pull/44500))
|
208 |
-
- Lodash: Remove completely from `@wordpress/block-directory` package. ([44206](https://github.com/WordPress/gutenberg/pull/44206))
|
209 |
-
- Lodash: Remove completely from `@wordpress/rich-text` package. ([44204](https://github.com/WordPress/gutenberg/pull/44204))
|
210 |
-
|
211 |
-
### Tools
|
212 |
-
|
213 |
-
- Scripts: Use default value for process.env.WP_SRC_DIRECTORY. ([44367](https://github.com/WordPress/gutenberg/pull/44367))
|
214 |
-
- Limit access to experimental APIs to WordPress codebase. ([43386](https://github.com/WordPress/gutenberg/pull/43386))
|
215 |
-
- Cherry Pick Script: Restore retrieval of merge_commit_sha. ([44890](https://github.com/WordPress/gutenberg/pull/44890))
|
216 |
-
|
217 |
-
#### Testing
|
218 |
-
- Autocomplete Component: Add end-to-end tests (take two). ([42905](https://github.com/WordPress/gutenberg/pull/42905))
|
219 |
-
- Fix failing quote to reusable block conversion end-to-end test. ([44350](https://github.com/WordPress/gutenberg/pull/44350))
|
220 |
-
- Add strict meta schema validation test for block.json. ([44423](https://github.com/WordPress/gutenberg/pull/44423))
|
221 |
-
- Migrate iframed block test to Playwright. ([44164](https://github.com/WordPress/gutenberg/pull/44164))
|
222 |
-
- Add theme.json schema tests. ([44252](https://github.com/WordPress/gutenberg/pull/44252))
|
223 |
-
- Remove enzyme completely. ([44494](https://github.com/WordPress/gutenberg/pull/44494))
|
224 |
-
- Fix typo from in writing flow spec. ([44358](https://github.com/WordPress/gutenberg/pull/44358))
|
225 |
-
- Fix typo in WP_Navigation_Page_Test. ([44685](https://github.com/WordPress/gutenberg/pull/44685))
|
226 |
-
- Popover: Convert unit tests to TypeScript and modern RTL assertions. ([44373](https://github.com/WordPress/gutenberg/pull/44373))
|
227 |
-
- Refactor `AlignmentMatrixControl` tests to use `@testing-library/react`. ([44670](https://github.com/WordPress/gutenberg/pull/44670))
|
228 |
-
- End-to-end Test Utils: Don't use hardcoded login credentials. ([44331](https://github.com/WordPress/gutenberg/pull/44331))
|
229 |
-
- Refactor `PluginPostPublishPanel` tests to use RTL render. ([44667](https://github.com/WordPress/gutenberg/pull/44667))
|
230 |
-
- Refactor `AutosaveMonitor` tests to `@testing-library/react`. ([44492](https://github.com/WordPress/gutenberg/pull/44492))
|
231 |
-
- Refactor `PostPreviewButton` tests to `@testing-library/react`. ([44470](https://github.com/WordPress/gutenberg/pull/44470))
|
232 |
-
- Refactor `BlockSwitcher` tests to `@testing-library/react`. ([44493](https://github.com/WordPress/gutenberg/pull/44493))
|
233 |
-
- Refactor `ResponsiveBlockControl` tests to use `@testing-library/react`. ([44669](https://github.com/WordPress/gutenberg/pull/44669))
|
234 |
-
- Style engine: Add JS unit tests for outline properties. ([44518](https://github.com/WordPress/gutenberg/pull/44518))
|
235 |
-
|
236 |
-
#### Build Tooling
|
237 |
-
- Upgrade Lerna to the latest version. ([44456](https://github.com/WordPress/gutenberg/pull/44456))
|
238 |
-
- wp-env: Use case insensitive regex when checking WP version string. ([44887](https://github.com/WordPress/gutenberg/pull/44887))
|
239 |
|
240 |
|
241 |
## First time contributors
|
242 |
|
243 |
The following PRs were merged by first time contributors:
|
244 |
|
245 |
-
- @alecgeatches: Add theme.json schema tests. ([44252](https://github.com/WordPress/gutenberg/pull/44252))
|
246 |
-
- @BenoitZugmeyer: Use `get_queried_object_id` when setting `current-menu-item` classes. ([44474](https://github.com/WordPress/gutenberg/pull/44474))
|
247 |
-
- @blindingstars: Update Theme JSON `$schema` to allow pseudo selectors on `button` property. ([44303](https://github.com/WordPress/gutenberg/pull/44303))
|
248 |
-
- @imanish003: Add missing import statement for useBlockProps. ([44607](https://github.com/WordPress/gutenberg/pull/44607))
|
249 |
-
- @loxK: Scripts: Use default value for process.env.WP_SRC_DIRECTORY. ([44367](https://github.com/WordPress/gutenberg/pull/44367))
|
250 |
-
- @Lucisu: Fix empty links being created for the author's name comment. ([44650](https://github.com/WordPress/gutenberg/pull/44650))
|
251 |
-
- @philwp: Post Author block now includes option to link author archive. ([42670](https://github.com/WordPress/gutenberg/pull/42670))
|
252 |
|
253 |
|
254 |
## Contributors
|
255 |
|
256 |
The following contributors merged PRs in this release:
|
257 |
|
258 |
-
@
|
259 |
-
|
260 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
261 |
|
262 |
|
263 |
= 14.2.0 =
|
1 |
== Changelog ==
|
2 |
|
3 |
+
= 14.3.1 =
|
4 |
|
5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
|
7 |
+
## Changelog
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
### Code Quality
|
10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
#### Block Library
|
12 |
+
- Add: Missing output escaping on some blocks. ([45045](https://github.com/WordPress/gutenberg/pull/45045))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
|
14 |
|
15 |
## First time contributors
|
16 |
|
17 |
The following PRs were merged by first time contributors:
|
18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
|
20 |
|
21 |
## Contributors
|
22 |
|
23 |
The following contributors merged PRs in this release:
|
24 |
|
25 |
+
@jorgefilipecosta
|
26 |
+
|
27 |
+
|
28 |
+
= 14.3.0 =
|
29 |
+
|
30 |
+
|
31 |
+
## Changelog
|
32 |
+
|
33 |
+
### Enhancements
|
34 |
+
|
35 |
+
#### Post Editor
|
36 |
+
- Optimize legacy post content layout. ([44506](https://github.com/WordPress/gutenberg/pull/44506))
|
37 |
+
- Remove right border when sidebars are closed. ([44613](https://github.com/WordPress/gutenberg/pull/44613))
|
38 |
+
|
39 |
+
#### Block Library
|
40 |
+
- Comment Pagination Numbers: Add background color. ([43902](https://github.com/WordPress/gutenberg/pull/43902))
|
41 |
+
- Navigation Submenu: Use `get_queried_object_id` when setting `current-menu-item` classes. ([44474](https://github.com/WordPress/gutenberg/pull/44474))
|
42 |
+
- Post Author: Include option to link author archive. ([42670](https://github.com/WordPress/gutenberg/pull/42670))
|
43 |
+
- Post Terms: Add spacing support. ([43646](https://github.com/WordPress/gutenberg/pull/43646))
|
44 |
+
- Query Loop: Hide instructions for FormTokenField. ([44641](https://github.com/WordPress/gutenberg/pull/44641))
|
45 |
+
- Tag Cloud: Remove `strtolower` around taxonomy name. ([16112](https://github.com/WordPress/gutenberg/pull/16112))
|
46 |
+
- Video: Update placeholder style. ([44215](https://github.com/WordPress/gutenberg/pull/44215))
|
47 |
+
|
48 |
+
#### Components
|
49 |
+
- FontSizePicker: Make control take up full width. ([44559](https://github.com/WordPress/gutenberg/pull/44559))
|
50 |
+
- Placeholder: Remove unnecessary background color. ([44497](https://github.com/WordPress/gutenberg/pull/44497))
|
51 |
+
- Placeholder: Update placeholder style. ([44190](https://github.com/WordPress/gutenberg/pull/44190))
|
52 |
+
- ToggleGroupControl: Fix unselected icon color. ([44575](https://github.com/WordPress/gutenberg/pull/44575))
|
53 |
+
- ToolsPanel: Add subheadings and reset text to tools panel menu. ([44260](https://github.com/WordPress/gutenberg/pull/44260))
|
54 |
+
|
55 |
+
#### Block API
|
56 |
+
- Blocks: Deprecate non-string descriptions. ([44455](https://github.com/WordPress/gutenberg/pull/44455))
|
57 |
+
- Tag Processor: Document and test XSS prevention in set_attribute. ([44447](https://github.com/WordPress/gutenberg/pull/44447))
|
58 |
+
- Tag Processor: Throw error when supplied with unacceptable attribute names. ([44431](https://github.com/WordPress/gutenberg/pull/44431))
|
59 |
+
- Tag Processor: Use (start,length) values for tracking tag name. ([44479](https://github.com/WordPress/gutenberg/pull/44479))
|
60 |
+
- Tag processor: Update 'since' version tags to 6.2.0. ([44432](https://github.com/WordPress/gutenberg/pull/44432))
|
61 |
+
|
62 |
+
#### Global Styles
|
63 |
+
- Hide the done button of the Global Style palette editor when there aren't colors to edit. ([44372](https://github.com/WordPress/gutenberg/pull/44372))
|
64 |
+
- Use ToolsPanel in Global Styles → Typography. ([44180](https://github.com/WordPress/gutenberg/pull/44180))
|
65 |
+
|
66 |
+
#### Block Editor
|
67 |
+
- Allow dropping an image on an empty paragraph block to create an image block. ([42722](https://github.com/WordPress/gutenberg/pull/42722))
|
68 |
+
- Writing flow: Implement Alt+Arrow. ([44081](https://github.com/WordPress/gutenberg/pull/44081))
|
69 |
+
|
70 |
+
#### Site Editor
|
71 |
+
- Allow drag and drop for blocks and patterns in zoom-out mode. ([44402](https://github.com/WordPress/gutenberg/pull/44402))
|
72 |
+
|
73 |
+
#### Block Directory
|
74 |
+
- Use 'tertiary' in missing block warning. ([44368](https://github.com/WordPress/gutenberg/pull/44368))
|
75 |
+
|
76 |
+
|
77 |
+
### New APIs
|
78 |
+
|
79 |
+
#### Block Library
|
80 |
+
- WP_HTML_Tag_Processor: Inject dynamic data to block HTML markup in PHP. ([42485](https://github.com/WordPress/gutenberg/pull/42485))
|
81 |
+
|
82 |
+
|
83 |
+
### Bug Fixes
|
84 |
+
|
85 |
+
- Add a correct TS signature for useEntityRecords. ([44448](https://github.com/WordPress/gutenberg/pull/44448))
|
86 |
+
- BlockDraggable: Change prop name passed to children when dragging is disabled. ([44371](https://github.com/WordPress/gutenberg/pull/44371))
|
87 |
+
- Fix Lint warning/errors in cherry-pick script. ([44662](https://github.com/WordPress/gutenberg/pull/44662))
|
88 |
+
- Fix: Content blocks with nested blocks always appear as top level. ([44098](https://github.com/WordPress/gutenberg/pull/44098))
|
89 |
+
- Hide the Classic block in the Site Editor. ([44554](https://github.com/WordPress/gutenberg/pull/44554))
|
90 |
+
- PHP 8.2: Remove deprecated callable in Style Engine value functions. ([44561](https://github.com/WordPress/gutenberg/pull/44561))
|
91 |
+
- Persisted preferences: Fix context property of user meta configuration. ([44489](https://github.com/WordPress/gutenberg/pull/44489))
|
92 |
+
- Resizable editor: Fix height setting bug. ([44637](https://github.com/WordPress/gutenberg/pull/44637))
|
93 |
+
- Style engine: Kebab case preset slugs in the editor. ([44406](https://github.com/WordPress/gutenberg/pull/44406))
|
94 |
+
- Add submenu block href only if URL is not empty. ([44337](https://github.com/WordPress/gutenberg/pull/44337))
|
95 |
+
- Update Theme JSON `$schema` to allow pseudo selectors on `button` property. ([44303](https://github.com/WordPress/gutenberg/pull/44303))
|
96 |
+
- Preserve the generic signature of getEntityRecord and getEntityRecords through currying. ([44453](https://github.com/WordPress/gutenberg/pull/44453))
|
97 |
+
- Template editor: Fix crashes due to undefined vars. ([44482](https://github.com/WordPress/gutenberg/pull/44482))
|
98 |
+
- Add missing value to CSS font-display descriptor in theme.json. ([44622](https://github.com/WordPress/gutenberg/pull/44622))
|
99 |
+
- Rich text: Avoid updating partial selection unnecessarily. ([44330](https://github.com/WordPress/gutenberg/pull/44330))
|
100 |
+
- useMergeRefs: Don't call/mutate refs passed if unused. ([44629](https://github.com/WordPress/gutenberg/pull/44629))
|
101 |
+
|
102 |
+
#### Block Library
|
103 |
+
- Code Block: Add box-sizing to fix inconsistent layout. ([44580](https://github.com/WordPress/gutenberg/pull/44580))
|
104 |
+
- Comment Author: Fix empty links created for the author's name. ([44650](https://github.com/WordPress/gutenberg/pull/44650))
|
105 |
+
- Comments: Support nested comments settings in the comments blocks. ([44351](https://github.com/WordPress/gutenberg/pull/44351))
|
106 |
+
- Group: Legacy Group inner block wrapper should work with a constrained layout. ([44660](https://github.com/WordPress/gutenberg/pull/44660))
|
107 |
+
- Image: Fix rotated image crop area aspect ratio. ([44425](https://github.com/WordPress/gutenberg/pull/44425))
|
108 |
+
- Image: Upgrade react-easy-crop to bring in fix for site editor iframe. ([44408](https://github.com/WordPress/gutenberg/pull/44408))
|
109 |
+
- Navigation: Fix console error. ([44594](https://github.com/WordPress/gutenberg/pull/44594))
|
110 |
+
- Navigation: Fix semitransparent burger icon. ([44525](https://github.com/WordPress/gutenberg/pull/44525))
|
111 |
+
- Navigation: Try fixing link color in some TT2 contexts. ([44578](https://github.com/WordPress/gutenberg/pull/44578))
|
112 |
+
- Paragraph: Disable drop cap control if text is aligned. ([42326](https://github.com/WordPress/gutenberg/pull/42326))
|
113 |
+
- Post Featured Image: Fix borders after addition of overlay feature. ([44286](https://github.com/WordPress/gutenberg/pull/44286))
|
114 |
+
- Post Featured Image: Fix application of default border style in editor. ([44520](https://github.com/WordPress/gutenberg/pull/44520))
|
115 |
+
- Query Loop: Fix condition for displaying 'parents' control. ([44630](https://github.com/WordPress/gutenberg/pull/44630))
|
116 |
+
- Query Loop: Rename Query Loop variations `allowControls` to `allowedControls`. ([44523](https://github.com/WordPress/gutenberg/pull/44523))
|
117 |
+
- Quote block: Stop slash inserter popup showing in the citation. ([44634](https://github.com/WordPress/gutenberg/pull/44634))
|
118 |
+
- Site Title: Fix link color not being applied in editor #37071. ([44333](https://github.com/WordPress/gutenberg/pull/44333))
|
119 |
+
- Template part: Prevent adding block in post editor or inside post template or content blocks. ([44480](https://github.com/WordPress/gutenberg/pull/44480))
|
120 |
+
- Video: Don't display placeholder SVG when Video block selected. ([44564](https://github.com/WordPress/gutenberg/pull/44564))
|
121 |
+
|
122 |
+
|
123 |
+
#### Global Styles
|
124 |
+
- Fix empty color indicator with a custom style. ([44364](https://github.com/WordPress/gutenberg/pull/44364))
|
125 |
+
- Re-add styles that were removed for classic themes. ([44334](https://github.com/WordPress/gutenberg/pull/44334))
|
126 |
+
- Remove border from Global Styles previews. ([44556](https://github.com/WordPress/gutenberg/pull/44556))
|
127 |
+
- Spacing presets: Modify the styling of the input controls when in unlinked mode in order to better differentiate sides. ([44141](https://github.com/WordPress/gutenberg/pull/44141))
|
128 |
+
- Style cards: Fix focus style. ([44612](https://github.com/WordPress/gutenberg/pull/44612))
|
129 |
+
- Theme.json: Fix some shadow properties not working properly in the site editor. ([44569](https://github.com/WordPress/gutenberg/pull/44569))
|
130 |
+
- Use color hex + index as key in the Palette component color indicator. ([44344](https://github.com/WordPress/gutenberg/pull/44344))
|
131 |
+
|
132 |
+
#### Design Tools
|
133 |
+
- Fix padding/margin visualizer accuracy. ([44485](https://github.com/WordPress/gutenberg/pull/44485))
|
134 |
+
- Fix padding/margin visualizer placement. ([44484](https://github.com/WordPress/gutenberg/pull/44484))
|
135 |
+
- Fix spacing property generation in flow layout type. ([44446](https://github.com/WordPress/gutenberg/pull/44446))
|
136 |
+
|
137 |
+
#### Components
|
138 |
+
- BorderBoxControl: Ensure the most common unit selection is maintained. ([44565](https://github.com/WordPress/gutenberg/pull/44565))
|
139 |
+
- Popover: Fix limitShift logic by adding iframe offset correctly (and a custom shift limiter). ([42950](https://github.com/WordPress/gutenberg/pull/42950))
|
140 |
+
- Popover: Refine position-to-placement conversion logic, add tests. ([44377](https://github.com/WordPress/gutenberg/pull/44377))
|
141 |
+
- Navigator Screen: Fix bug where focus moved erroneously. ([44239](https://github.com/WordPress/gutenberg/pull/44239))
|
142 |
+
|
143 |
+
#### Block Editor
|
144 |
+
- Fix block search for non-Latin characters. ([44652](https://github.com/WordPress/gutenberg/pull/44652))
|
145 |
+
- Prevent empty block toolbars from showing empty slots. ([44704](https://github.com/WordPress/gutenberg/pull/44704))
|
146 |
+
|
147 |
+
#### Widgets Editor
|
148 |
+
- Add extra guarding against legacy widget preview errors. ([44635](https://github.com/WordPress/gutenberg/pull/44635))
|
149 |
+
|
150 |
+
#### Themes
|
151 |
+
- Theme export: Fix broken spacingScale export. ([44555](https://github.com/WordPress/gutenberg/pull/44555))
|
152 |
+
- Theme export: Stop slugs being cast to integers when a theme is exported. ([44589](https://github.com/WordPress/gutenberg/pull/44589))
|
153 |
+
|
154 |
+
#### Accessibility
|
155 |
+
- TokenInput field: Try alternative approach to fix screen reader focus issue. ([44526](https://github.com/WordPress/gutenberg/pull/44526))
|
156 |
+
|
157 |
+
#### Patterns
|
158 |
+
- Fix patterns drag and drop in Safari. ([44366](https://github.com/WordPress/gutenberg/pull/44366))
|
159 |
+
|
160 |
+
#### Post Editor
|
161 |
+
- Add layout styles from Post Content block to post editor. ([44258](https://github.com/WordPress/gutenberg/pull/44258))
|
162 |
+
|
163 |
+
|
164 |
+
### Performance
|
165 |
+
|
166 |
+
- Compose: Introduce an in-house `throttle()` utility, deprecate Lodash version. ([44225](https://github.com/WordPress/gutenberg/pull/44225))
|
167 |
+
- Improve Slot/Fill performance. ([44642](https://github.com/WordPress/gutenberg/pull/44642))
|
168 |
+
|
169 |
+
|
170 |
+
### Documentation
|
171 |
+
|
172 |
+
- Add documentation for extending the Query Loop block via variations. ([44137](https://github.com/WordPress/gutenberg/pull/44137))
|
173 |
+
- Add more details about possible values for block assets in `block.json`. ([44199](https://github.com/WordPress/gutenberg/pull/44199))
|
174 |
+
- Add missing import statement for useBlockProps. ([44607](https://github.com/WordPress/gutenberg/pull/44607))
|
175 |
+
- Instruct people to keep using `wp-scripts` even when extending webpack. ([44348](https://github.com/WordPress/gutenberg/pull/44348))
|
176 |
+
- Style engine: Updating and fleshing out documentation. ([44405](https://github.com/WordPress/gutenberg/pull/44405))
|
177 |
+
- Style engine: Update readme. ([44308](https://github.com/WordPress/gutenberg/pull/44308))
|
178 |
+
- Add callout for experimental packages. ([44056](https://github.com/WordPress/gutenberg/pull/44056))
|
179 |
+
- Expand class-level documentation for `WP_HTML_Tag_Processor`. ([44478](https://github.com/WordPress/gutenberg/pull/44478))
|
180 |
+
- Experiments: Add README.md and CHANGELOG.md. ([44457](https://github.com/WordPress/gutenberg/pull/44457))
|
181 |
+
- Remove the package name from the sub-menu item for clarity. ([44643](https://github.com/WordPress/gutenberg/pull/44643))
|
182 |
+
|
183 |
+
### Code Quality
|
184 |
+
|
185 |
+
- Avoid calling get_blocks_metadata in WP_Theme_JSON constructor. ([44658](https://github.com/WordPress/gutenberg/pull/44658))
|
186 |
+
- Block Popover: Use placement instead of position; move to useBlockToolbarPopoverProps hook. ([44323](https://github.com/WordPress/gutenberg/pull/44323))
|
187 |
+
- CS/QA: Various minor fixes. ([44551](https://github.com/WordPress/gutenberg/pull/44551))
|
188 |
+
- CS: Always use parentheses when instantiating objects. ([44550](https://github.com/WordPress/gutenberg/pull/44550))
|
189 |
+
- CS: Remove redundant parentheses for include/require statements. ([44544](https://github.com/WordPress/gutenberg/pull/44544))
|
190 |
+
- CS: Use pre-increment instead of post-increment. ([44549](https://github.com/WordPress/gutenberg/pull/44549))
|
191 |
+
- Fix comment typo in document generation tools. ([44583](https://github.com/WordPress/gutenberg/pull/44583))
|
192 |
+
- I18n: Use consistent string: 'Link rel'. ([20162](https://github.com/WordPress/gutenberg/pull/20162))
|
193 |
+
- PHP 8.2 | Fix deprecated embedded variables in text strings. ([44538](https://github.com/WordPress/gutenberg/pull/44538))
|
194 |
+
- PHP 8.2 | Fix for partially supported callback. ([44537](https://github.com/WordPress/gutenberg/pull/44537))
|
195 |
+
- PHPCS: Use PHPCompatibilityWP. ([44542](https://github.com/WordPress/gutenberg/pull/44542))
|
196 |
+
- QA: No control structures with empty body. ([44548](https://github.com/WordPress/gutenberg/pull/44548))
|
197 |
+
- Script loader: Remove 6.1 wp actions. ([44519](https://github.com/WordPress/gutenberg/pull/44519))
|
198 |
+
|
199 |
+
#### Components
|
200 |
+
- Components refactor `Mobile` to ignore `exhaustive-deps`. ([44207](https://github.com/WordPress/gutenberg/pull/44207))
|
201 |
+
- Convert FontSizePicker to TypeScript. ([44449](https://github.com/WordPress/gutenberg/pull/44449))
|
202 |
+
- FontSizePicker: Replace SCSS with Emotion + components. ([44483](https://github.com/WordPress/gutenberg/pull/44483))
|
203 |
+
- RangeControl: Remove unused UseDebouncedHoverInteractionArgs type. ([44411](https://github.com/WordPress/gutenberg/pull/44411))
|
204 |
+
- Refactor `Notice` to pass `exhaustive-deps`. ([44157](https://github.com/WordPress/gutenberg/pull/44157))
|
205 |
+
- Refactor `ResizableBox` to pass `exhaustive-deps`. ([44370](https://github.com/WordPress/gutenberg/pull/44370))
|
206 |
+
- Refactor `Sandbox` to pass `exhaustive-deps`. ([44378](https://github.com/WordPress/gutenberg/pull/44378))
|
207 |
+
- Refactor `SearchControl` native files to ignore `exhaustive-deps`. ([44381](https://github.com/WordPress/gutenberg/pull/44381))
|
208 |
+
|
209 |
+
#### Block Library
|
210 |
+
- Archive Block: Remove unnecessary spaces from class attributes. ([44440](https://github.com/WordPress/gutenberg/pull/44440))
|
211 |
+
- Archive: No need to escape class variable. ([44468](https://github.com/WordPress/gutenberg/pull/44468))
|
212 |
+
- Gallery: Remove unnecessary caption state. ([44383](https://github.com/WordPress/gutenberg/pull/44383))
|
213 |
+
- Remove unnecessary `view.js` file from navigation-submenu block. ([44570](https://github.com/WordPress/gutenberg/pull/44570))
|
214 |
+
|
215 |
+
#### Plugin
|
216 |
+
- CS: All methods must declare visibility. ([44543](https://github.com/WordPress/gutenberg/pull/44543))
|
217 |
+
- Move `wp_enqueue_block_view_script` to experiments. ([44414](https://github.com/WordPress/gutenberg/pull/44414))
|
218 |
+
|
219 |
+
#### Layout
|
220 |
+
- Backport code quality changes from core to Gutenberg. ([44661](https://github.com/WordPress/gutenberg/pull/44661))
|
221 |
+
|
222 |
+
#### Parsing
|
223 |
+
- Block Serialization Default Parser: Bring back `no-more-tokens` type. ([44459](https://github.com/WordPress/gutenberg/pull/44459))
|
224 |
+
|
225 |
+
#### Global Styles
|
226 |
+
- Add `blocks` to the list of valid origins for `theme.json`. ([44363](https://github.com/WordPress/gutenberg/pull/44363))
|
227 |
+
|
228 |
+
#### Lodash
|
229 |
+
- Lodash: Remove completely from `@wordpress/compose` package. ([44568](https://github.com/WordPress/gutenberg/pull/44568))
|
230 |
+
- Lodash: Remove completely from `@wordpress/library-export-default-webpack-plugin` package. ([44571](https://github.com/WordPress/gutenberg/pull/44571))
|
231 |
+
- Lodash: Remove completely from `@wordpress/list-reusable-blocks` package. ([44567](https://github.com/WordPress/gutenberg/pull/44567))
|
232 |
+
- Lodash: Refactor away from `_.flow()`. ([44500](https://github.com/WordPress/gutenberg/pull/44500))
|
233 |
+
- Lodash: Remove completely from `@wordpress/block-directory` package. ([44206](https://github.com/WordPress/gutenberg/pull/44206))
|
234 |
+
- Lodash: Remove completely from `@wordpress/rich-text` package. ([44204](https://github.com/WordPress/gutenberg/pull/44204))
|
235 |
+
|
236 |
+
### Tools
|
237 |
+
|
238 |
+
- Scripts: Use default value for process.env.WP_SRC_DIRECTORY. ([44367](https://github.com/WordPress/gutenberg/pull/44367))
|
239 |
+
- Limit access to experimental APIs to WordPress codebase. ([43386](https://github.com/WordPress/gutenberg/pull/43386))
|
240 |
+
- Cherry Pick Script: Restore retrieval of merge_commit_sha. ([44890](https://github.com/WordPress/gutenberg/pull/44890))
|
241 |
+
|
242 |
+
#### Testing
|
243 |
+
- Autocomplete Component: Add end-to-end tests (take two). ([42905](https://github.com/WordPress/gutenberg/pull/42905))
|
244 |
+
- Fix failing quote to reusable block conversion end-to-end test. ([44350](https://github.com/WordPress/gutenberg/pull/44350))
|
245 |
+
- Add strict meta schema validation test for block.json. ([44423](https://github.com/WordPress/gutenberg/pull/44423))
|
246 |
+
- Migrate iframed block test to Playwright. ([44164](https://github.com/WordPress/gutenberg/pull/44164))
|
247 |
+
- Add theme.json schema tests. ([44252](https://github.com/WordPress/gutenberg/pull/44252))
|
248 |
+
- Remove enzyme completely. ([44494](https://github.com/WordPress/gutenberg/pull/44494))
|
249 |
+
- Fix typo from in writing flow spec. ([44358](https://github.com/WordPress/gutenberg/pull/44358))
|
250 |
+
- Fix typo in WP_Navigation_Page_Test. ([44685](https://github.com/WordPress/gutenberg/pull/44685))
|
251 |
+
- Popover: Convert unit tests to TypeScript and modern RTL assertions. ([44373](https://github.com/WordPress/gutenberg/pull/44373))
|
252 |
+
- Refactor `AlignmentMatrixControl` tests to use `@testing-library/react`. ([44670](https://github.com/WordPress/gutenberg/pull/44670))
|
253 |
+
- End-to-end Test Utils: Don't use hardcoded login credentials. ([44331](https://github.com/WordPress/gutenberg/pull/44331))
|
254 |
+
- Refactor `PluginPostPublishPanel` tests to use RTL render. ([44667](https://github.com/WordPress/gutenberg/pull/44667))
|
255 |
+
- Refactor `AutosaveMonitor` tests to `@testing-library/react`. ([44492](https://github.com/WordPress/gutenberg/pull/44492))
|
256 |
+
- Refactor `PostPreviewButton` tests to `@testing-library/react`. ([44470](https://github.com/WordPress/gutenberg/pull/44470))
|
257 |
+
- Refactor `BlockSwitcher` tests to `@testing-library/react`. ([44493](https://github.com/WordPress/gutenberg/pull/44493))
|
258 |
+
- Refactor `ResponsiveBlockControl` tests to use `@testing-library/react`. ([44669](https://github.com/WordPress/gutenberg/pull/44669))
|
259 |
+
- Style engine: Add JS unit tests for outline properties. ([44518](https://github.com/WordPress/gutenberg/pull/44518))
|
260 |
+
|
261 |
+
#### Build Tooling
|
262 |
+
- Upgrade Lerna to the latest version. ([44456](https://github.com/WordPress/gutenberg/pull/44456))
|
263 |
+
- wp-env: Use case insensitive regex when checking WP version string. ([44887](https://github.com/WordPress/gutenberg/pull/44887))
|
264 |
+
|
265 |
+
|
266 |
+
## First time contributors
|
267 |
+
|
268 |
+
The following PRs were merged by first time contributors:
|
269 |
+
|
270 |
+
- @alecgeatches: Add theme.json schema tests. ([44252](https://github.com/WordPress/gutenberg/pull/44252))
|
271 |
+
- @BenoitZugmeyer: Use `get_queried_object_id` when setting `current-menu-item` classes. ([44474](https://github.com/WordPress/gutenberg/pull/44474))
|
272 |
+
- @blindingstars: Update Theme JSON `$schema` to allow pseudo selectors on `button` property. ([44303](https://github.com/WordPress/gutenberg/pull/44303))
|
273 |
+
- @imanish003: Add missing import statement for useBlockProps. ([44607](https://github.com/WordPress/gutenberg/pull/44607))
|
274 |
+
- @loxK: Scripts: Use default value for process.env.WP_SRC_DIRECTORY. ([44367](https://github.com/WordPress/gutenberg/pull/44367))
|
275 |
+
- @Lucisu: Fix empty links being created for the author's name comment. ([44650](https://github.com/WordPress/gutenberg/pull/44650))
|
276 |
+
- @philwp: Post Author block now includes option to link author archive. ([42670](https://github.com/WordPress/gutenberg/pull/42670))
|
277 |
+
|
278 |
+
|
279 |
+
## Contributors
|
280 |
+
|
281 |
+
The following contributors merged PRs in this release:
|
282 |
+
|
283 |
+
@aaronrobertshaw @adamziel @ajlende @alecgeatches @andrewserong @anton-vlasenko @BE-Webdesign @BenoitZugmeyer @blindingstars @carolinan @chad1008 @ciampo @derekblank @dmsnell @ellatrix @getdave @glendaviesnz @gziolo @imanish003 @inc2734 @jameskoster @jasmussen @javierarce @jorgefilipecosta @jrfnl @kevin940726 @loxK @Lucisu @luisherranz @Mamaduka @michalczaplinski @ndiego @noisysocks @ntsekouras @oandregal @pagelab @philwp @ramonjd @Rink9 @ryanwelcher @SantosGuillamot @scruffian @Soean @sunyatasattva @t-hamano @talldan @tellthemachines @tyxla @vcanales @youknowriad
|
284 |
+
|
285 |
+
|
286 |
|
287 |
|
288 |
= 14.2.0 =
|
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.9
|
7 |
* Requires PHP: 5.6
|
8 |
-
* Version: 14.3.
|
9 |
* Author: Gutenberg Team
|
10 |
* Text Domain: gutenberg
|
11 |
*
|
@@ -13,8 +13,8 @@
|
|
13 |
*/
|
14 |
|
15 |
### BEGIN AUTO-GENERATED DEFINES
|
16 |
-
define( 'GUTENBERG_VERSION', '14.3.
|
17 |
-
define( 'GUTENBERG_GIT_COMMIT', '
|
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.9
|
7 |
* Requires PHP: 5.6
|
8 |
+
* Version: 14.3.1
|
9 |
* Author: Gutenberg Team
|
10 |
* Text Domain: gutenberg
|
11 |
*
|
13 |
*/
|
14 |
|
15 |
### BEGIN AUTO-GENERATED DEFINES
|
16 |
+
define( 'GUTENBERG_VERSION', '14.3.1' );
|
17 |
+
define( 'GUTENBERG_GIT_COMMIT', '0a526a587e6adc57672a48098dd9b561b51112c0' );
|
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: 6.0
|
4 |
-
Stable tag: 14.
|
5 |
License: GPLv2 or later
|
6 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
7 |
|
1 |
=== Gutenberg ===
|
2 |
Contributors: matveb, joen, karmatosed
|
3 |
Tested up to: 6.0
|
4 |
+
Stable tag: 14.3.0
|
5 |
License: GPLv2 or later
|
6 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
7 |
|