Version Description
Download this release
Release Info
Developer | gutenbergplugin |
Plugin | Gutenberg |
Version | 11.8.3 |
Comparing to | |
See all releases |
Code changes from version 11.8.2 to 11.8.3
- build/block-library/blocks/calendar.php +39 -35
- changelog.txt +374 -7
- gutenberg.php +3 -3
- lib/class-wp-theme-json-schema-v0.php +3 -3
- lib/interface-wp-theme-json-schema.php +1 -1
- readme.txt +2 -2
build/block-library/blocks/calendar.php
CHANGED
@@ -107,47 +107,51 @@ function gutenberg_block_core_calendar_update_has_published_posts() {
|
|
107 |
return $has_published_posts;
|
108 |
}
|
109 |
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
if ( ! $post || 'publish' !== $post->post_status || 'post' !== $post->post_type ) {
|
122 |
-
return;
|
123 |
-
}
|
124 |
|
125 |
-
|
|
|
126 |
}
|
127 |
|
128 |
-
|
129 |
-
|
130 |
-
*
|
131 |
-
* @param string $new_status The status the post is changing to.
|
132 |
-
* @param string $old_status The status the post is changing from.
|
133 |
-
* @param WP_Post $post Post object.
|
134 |
-
*/
|
135 |
-
function block_core_calendar_update_has_published_post_on_transition_post_status( $new_status, $old_status, $post ) {
|
136 |
-
if ( $new_status === $old_status ) {
|
137 |
-
return;
|
138 |
-
}
|
139 |
|
140 |
-
|
141 |
-
|
142 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
143 |
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
|
148 |
-
|
|
|
149 |
}
|
150 |
|
151 |
-
|
152 |
-
|
|
|
|
|
|
|
153 |
}
|
|
|
|
|
|
107 |
return $has_published_posts;
|
108 |
}
|
109 |
|
110 |
+
/**
|
111 |
+
* Handler for updating the has published posts flag when a post is deleted.
|
112 |
+
*
|
113 |
+
* @param int $post_id Deleted post ID.
|
114 |
+
*/
|
115 |
+
function gutenberg_block_core_calendar_update_has_published_post_on_delete( $post_id ) {
|
116 |
+
if ( is_multisite() ) {
|
117 |
+
return;
|
118 |
+
}
|
119 |
+
|
120 |
+
$post = get_post( $post_id );
|
|
|
|
|
|
|
121 |
|
122 |
+
if ( ! $post || 'publish' !== $post->post_status || 'post' !== $post->post_type ) {
|
123 |
+
return;
|
124 |
}
|
125 |
|
126 |
+
gutenberg_block_core_calendar_update_has_published_posts();
|
127 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
128 |
|
129 |
+
/**
|
130 |
+
* Handler for updating the has published posts flag when a post status changes.
|
131 |
+
*
|
132 |
+
* @param string $new_status The status the post is changing to.
|
133 |
+
* @param string $old_status The status the post is changing from.
|
134 |
+
* @param WP_Post $post Post object.
|
135 |
+
*/
|
136 |
+
function gutenberg_block_core_calendar_update_has_published_post_on_transition_post_status( $new_status, $old_status, $post ) {
|
137 |
+
if ( is_multisite() ) {
|
138 |
+
return;
|
139 |
+
}
|
140 |
|
141 |
+
if ( $new_status === $old_status ) {
|
142 |
+
return;
|
143 |
+
}
|
144 |
|
145 |
+
if ( 'post' !== get_post_type( $post ) ) {
|
146 |
+
return;
|
147 |
}
|
148 |
|
149 |
+
if ( 'publish' !== $new_status && 'publish' !== $old_status ) {
|
150 |
+
return;
|
151 |
+
}
|
152 |
+
|
153 |
+
gutenberg_block_core_calendar_update_has_published_posts();
|
154 |
}
|
155 |
+
|
156 |
+
add_action( 'delete_post', 'gutenberg_block_core_calendar_update_has_published_post_on_delete' );
|
157 |
+
add_action( 'transition_post_status', 'gutenberg_block_core_calendar_update_has_published_post_on_transition_post_status', 10, 3 );
|
changelog.txt
CHANGED
@@ -1,16 +1,383 @@
|
|
1 |
== Changelog ==
|
2 |
|
3 |
-
= 11.8.
|
4 |
|
5 |
|
6 |
-
|
7 |
### Various
|
8 |
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
|
15 |
|
16 |
= 11.9.0-rc.2 =
|
1 |
== Changelog ==
|
2 |
|
3 |
+
= 11.8.3 =
|
4 |
|
5 |
|
|
|
6 |
### Various
|
7 |
|
8 |
+
- Fix Gutenberg WordPress trunk https://github.com/WordPress/gutenberg/pull/36347.
|
9 |
+
|
10 |
+
|
11 |
+
= 11.9.0-rc.3 =
|
12 |
+
|
13 |
+
### Features
|
14 |
+
|
15 |
+
#### Block Library
|
16 |
+
- New Block: Comment Reply Link. ([35774](https://github.com/WordPress/gutenberg/pull/35774))
|
17 |
+
- New Block: Comment Link. ([35965](https://github.com/WordPress/gutenberg/pull/35965))
|
18 |
+
- New Block: Comment Avatar. ([35396](https://github.com/WordPress/gutenberg/pull/35396))
|
19 |
+
- New Block: Comments Query Loop. ([35231](https://github.com/WordPress/gutenberg/pull/35231))
|
20 |
+
|
21 |
+
|
22 |
+
### Enhancements
|
23 |
+
|
24 |
+
- Block toolbar: Remove visual clue from text alignment icon. ([35922](https://github.com/WordPress/gutenberg/pull/35922))
|
25 |
+
- Improve the initial loading of the site editor. ([36044](https://github.com/WordPress/gutenberg/pull/36044))
|
26 |
+
- StripHTML: preserve leading and trailing spaces and strip script and on* attributes. ([35539](https://github.com/WordPress/gutenberg/pull/35539))
|
27 |
+
|
28 |
+
#### Block Library
|
29 |
+
|
30 |
+
- Buttons: Add flex layout and new layout type. ([35819](https://github.com/WordPress/gutenberg/pull/35819))
|
31 |
+
- Code: Add support for padding, color, and border styles. ([27582](https://github.com/WordPress/gutenberg/pull/27582))
|
32 |
+
- Columns: Add padding support. ([35701](https://github.com/WordPress/gutenberg/pull/35701))
|
33 |
+
- Comment Author Name: Add spacing to have same options as Post Author Name. ([36213](https://github.com/WordPress/gutenberg/pull/36213))
|
34 |
+
- Comment Edit Link: Add alignment option. ([36033](https://github.com/WordPress/gutenberg/pull/36033))
|
35 |
+
- Embed: Add Wolfram Cloud as an embed provider. ([35656](https://github.com/WordPress/gutenberg/pull/35656))
|
36 |
+
- Gallery: Replace gallery experimental setting with a check for use_balanceTags. ([34979](https://github.com/WordPress/gutenberg/pull/34979))
|
37 |
+
- Image: Add data-id attribute on server side render for core galleries. ([35975](https://github.com/WordPress/gutenberg/pull/35975))
|
38 |
+
- Navigation: Add create new menu button. ([36245](https://github.com/WordPress/gutenberg/pull/36245))
|
39 |
+
- Navigation: Add delete nav menu button. ([35981](https://github.com/WordPress/gutenberg/pull/35981))
|
40 |
+
- Navigation: Add featured transforms in Link Control for Navigation Link items. ([35857](https://github.com/WordPress/gutenberg/pull/35857))
|
41 |
+
- Navigation: Add flex layout. ([36169](https://github.com/WordPress/gutenberg/pull/36169))
|
42 |
+
- Navigation: Add missing menu item attributes. ([35634](https://github.com/WordPress/gutenberg/pull/35634))
|
43 |
+
- Navigation: Create nav menu on pattern insertion or when the block has uncontrolled inner blocks. ([36024](https://github.com/WordPress/gutenberg/pull/36024))
|
44 |
+
- Navigation: Save data to a wp_navigation post type. ([35746](https://github.com/WordPress/gutenberg/pull/35746))
|
45 |
+
- Navigation: Update block entity automatic name generation and refine naming UI. ([36238](https://github.com/WordPress/gutenberg/pull/36238))
|
46 |
+
- Navigation: Use a single placeholder for the block. ([36023](https://github.com/WordPress/gutenberg/pull/36023))
|
47 |
+
- Page List: Create a JS version for the editor. ([31670](https://github.com/WordPress/gutenberg/pull/31670))
|
48 |
+
- Post Author: Add spacing controls. ([35963](https://github.com/WordPress/gutenberg/pull/35963))
|
49 |
+
- Post Comment: Deprecate the block now that the Comment Query Loop block has been added. ([36032](https://github.com/WordPress/gutenberg/pull/36032))
|
50 |
+
- Post Comment Author: Add alignment options. ([36045](https://github.com/WordPress/gutenberg/pull/36045))
|
51 |
+
- Post Comments: Even out the top margin inside the block. ([35887](https://github.com/WordPress/gutenberg/pull/35887))
|
52 |
+
- Post Excerpt: Add spacing controls. ([35959](https://github.com/WordPress/gutenberg/pull/35959))
|
53 |
+
- Post Excerpt: Don't print the wrapper when there is no excerpt. ([35749](https://github.com/WordPress/gutenberg/pull/35749))
|
54 |
+
- Post Title: Return no markup if title is empty. ([35861](https://github.com/WordPress/gutenberg/pull/35861))
|
55 |
+
- Search: Add contextual defaults when inserted in Navigation block. ([36125](https://github.com/WordPress/gutenberg/pull/36125))
|
56 |
+
- Gallery block: Add a dismissible warning about the need for versions >=18.2 of the mobile app. ([36012](https://github.com/WordPress/gutenberg/pull/36012))
|
57 |
+
|
58 |
+
#### Accessibility
|
59 |
+
- Add announcement on formatting change for screen readers. ([35896](https://github.com/WordPress/gutenberg/pull/35896))
|
60 |
+
- Add aria-current to navigation link, submenu, page list. ([35880](https://github.com/WordPress/gutenberg/pull/35880))
|
61 |
+
- Link editing: Improve focus styles for Link UI preview title. ([35853](https://github.com/WordPress/gutenberg/pull/35853))
|
62 |
+
- Site Editor: Enable the "Save" keyboard shortcut. ([36138](https://github.com/WordPress/gutenberg/pull/36138))
|
63 |
+
|
64 |
+
#### Block Editor
|
65 |
+
- Drag and drop: Show drag slot instead of hiding the block being dragged. ([33950](https://github.com/WordPress/gutenberg/pull/33950))
|
66 |
+
- Enable rich previews in the Link UI for the Site Editor. ([35951](https://github.com/WordPress/gutenberg/pull/35951))
|
67 |
+
- Link editing: Update Link UI design for preview action buttons to use icons for edit and unlink. ([35833](https://github.com/WordPress/gutenberg/pull/35833))
|
68 |
+
- Use the block's name in the "remove block" menu item in the block settings dropdown. ([35872](https://github.com/WordPress/gutenberg/pull/35872))
|
69 |
+
|
70 |
+
#### Full Site Editing
|
71 |
+
- Move the Site Editor menu item to sit under Appearance and rename to Editor. ([36064](https://github.com/WordPress/gutenberg/pull/36064))
|
72 |
+
- Use Heading component on NavigationMenu and NavigationGroup components. ([36009](https://github.com/WordPress/gutenberg/pull/36009))
|
73 |
+
- Use SearchControl component inside nav menu. ([36011](https://github.com/WordPress/gutenberg/pull/36011))
|
74 |
+
|
75 |
+
#### Components
|
76 |
+
- Duotone: Add description to clarify that the underlying image will not be affected. ([36018](https://github.com/WordPress/gutenberg/pull/36018))
|
77 |
+
- ToolsPanel: Update typography panel layout. ([35911](https://github.com/WordPress/gutenberg/pull/35911))
|
78 |
+
|
79 |
+
#### Template Editor
|
80 |
+
- Add resizer to template part focus mode. ([35728](https://github.com/WordPress/gutenberg/pull/35728))
|
81 |
+
- Auto resize the height of template part focus mode. ([35974](https://github.com/WordPress/gutenberg/pull/35974))
|
82 |
+
|
83 |
+
#### Global Styles
|
84 |
+
- Remove the duplicated title in background, text and link views. ([35583](https://github.com/WordPress/gutenberg/pull/35583))
|
85 |
+
- Typography: Switch to ToolsPanel for block support UI. ([33744](https://github.com/WordPress/gutenberg/pull/33744))
|
86 |
+
|
87 |
+
#### Design Tools
|
88 |
+
- Duotone: Enable transparency. ([34130](https://github.com/WordPress/gutenberg/pull/34130))
|
89 |
+
- Layout: Add `flex-wrap` control to `flex` layout. ([36003](https://github.com/WordPress/gutenberg/pull/36003))
|
90 |
+
- Typography block support: Add typography support and defaults. ([34064](https://github.com/WordPress/gutenberg/pull/34064))
|
91 |
+
|
92 |
+
#### Media
|
93 |
+
- Remove "security" verbiage from warning when filetype does not pass on upload. ([36226](https://github.com/WordPress/gutenberg/pull/36226))
|
94 |
+
|
95 |
+
#### Patterns
|
96 |
+
- Add an `inserter` flag to hide patterns from UI. ([36108](https://github.com/WordPress/gutenberg/pull/36108))
|
97 |
+
|
98 |
+
#### Themes
|
99 |
+
- Remove experimental feature notice for block themes. ([36083](https://github.com/WordPress/gutenberg/pull/36083))
|
100 |
+
|
101 |
+
#### Testing
|
102 |
+
- Scripts: Increase timeout for end-to-end tests to 30 seconds. ([35983](https://github.com/WordPress/gutenberg/pull/35983))
|
103 |
+
|
104 |
+
#### Tools
|
105 |
+
- Wp-env: Disable Xdebug by default unless specified by user. ([34324](https://github.com/WordPress/gutenberg/pull/34324))
|
106 |
+
|
107 |
+
#### REST API
|
108 |
+
- URL Details: Update regex to include `og:Description`. ([35875](https://github.com/WordPress/gutenberg/pull/35875))
|
109 |
+
|
110 |
+
|
111 |
+
### New APIs
|
112 |
+
|
113 |
+
#### Global Styles
|
114 |
+
- Add API to access global settings, styles, and stylesheet. ([34843](https://github.com/WordPress/gutenberg/pull/34843))
|
115 |
+
|
116 |
+
#### Block Library
|
117 |
+
- Inner blocks: Add `useInnerBlocksProps.save` function for edit/save symmetry, and stabilise API. ([26031](https://github.com/WordPress/gutenberg/pull/26031))
|
118 |
+
|
119 |
+
|
120 |
+
### Bug Fixes
|
121 |
+
|
122 |
+
- Allow moving metaboxes to previously empty area. ([25187](https://github.com/WordPress/gutenberg/pull/25187))
|
123 |
+
- Avoid showing deleted records in editor saving flow. ([36027](https://github.com/WordPress/gutenberg/pull/36027))
|
124 |
+
- BaseControl: Fix undefined Help text id if no id is passed to component. ([35899](https://github.com/WordPress/gutenberg/pull/35899))
|
125 |
+
- Change `console.error` to `console.warn` for enqueued styles in the editor. ([35914](https://github.com/WordPress/gutenberg/pull/35914))
|
126 |
+
- Disable ability to edit wp_navigation menus via `Appearance -> Navigation Menus` for non-FSE themes. ([36257](https://github.com/WordPress/gutenberg/pull/36257))
|
127 |
+
- Fix Core Data using hardcoded baseURL prefix for taxonomies and post types API requests. ([35850](https://github.com/WordPress/gutenberg/pull/35850))
|
128 |
+
- Fix WPCS lint errors in global styles. ([36058](https://github.com/WordPress/gutenberg/pull/36058))
|
129 |
+
- Fix `getPxFromCssUnit` test stability and test that memoized function works correctly. ([35939](https://github.com/WordPress/gutenberg/pull/35939))
|
130 |
+
- Fix Rest global styles controller accessing configuration that may not exist. ([36047](https://github.com/WordPress/gutenberg/pull/36047))
|
131 |
+
- Make `saveEditedEntityRecord` use the entity key when available. ([36212](https://github.com/WordPress/gutenberg/pull/36212))
|
132 |
+
- Preserve highlighted text selection when changing colors ([36263](https://github.com/WordPress/gutenberg/pull/36263))
|
133 |
+
- Prevent PHP notice in Elements block support for blocks with empty content. ([35836](https://github.com/WordPress/gutenberg/pull/35836))
|
134 |
+
- Theme resolver: Fix crash from calls to `undefined` functions. ([36248](https://github.com/WordPress/gutenberg/pull/36248))
|
135 |
+
- Unhook `_block_template_render_title_tag` to prevent duplicate title tags from rendering. ([36133](https://github.com/WordPress/gutenberg/pull/36133))
|
136 |
+
|
137 |
+
#### Block Library
|
138 |
+
- Classic: Fix select all blocks side effect that overwrote paragraph block contents. ([35999](https://github.com/WordPress/gutenberg/pull/35999))
|
139 |
+
- Column: Only add flex-basis if width contains a number. ([35831](https://github.com/WordPress/gutenberg/pull/35831))
|
140 |
+
- Comment Template: Move inner blocks container to separate components. ([36174](https://github.com/WordPress/gutenberg/pull/36174))
|
141 |
+
- Blocks: Fix relative URLs for inlined styles. ([35538](https://github.com/WordPress/gutenberg/pull/35538))
|
142 |
+
- Fix saving template parts in the site editor by fixing controlled inner blocks parent block attributes updates. ([35827](https://github.com/WordPress/gutenberg/pull/35827))
|
143 |
+
- Fix incorrect attributes definitions for Column, Cover, and Group blocks. ([36140](https://github.com/WordPress/gutenberg/pull/36140))
|
144 |
+
- Gallery: Only show the gallery upload error message if mixed multiple files are uploaded. ([35790](https://github.com/WordPress/gutenberg/pull/35790))
|
145 |
+
- Gallery: Remove the arbitrary alt text that is added to gallery images. ([35936](https://github.com/WordPress/gutenberg/pull/35936))
|
146 |
+
- Heading: Avoid error on split when the paragraph isn't registered. ([35871](https://github.com/WordPress/gutenberg/pull/35871))
|
147 |
+
- Navigation Submenu: Fix PHP notice caused by stale id reference. ([35984](https://github.com/WordPress/gutenberg/pull/35984))
|
148 |
+
- Navigation overlay menu: Fix submenu spacing. ([35823](https://github.com/WordPress/gutenberg/pull/35823))
|
149 |
+
- Navigation: Fix dropdown indicator position. ([36106](https://github.com/WordPress/gutenberg/pull/36106))
|
150 |
+
- Navigation: Fix issues with responsive justifications. ([35913](https://github.com/WordPress/gutenberg/pull/35913)) and ([36105](https://github.com/WordPress/gutenberg/pull/36105))
|
151 |
+
- Navigation: Fix padding for social links on mobile. ([35824](https://github.com/WordPress/gutenberg/pull/35824))
|
152 |
+
- Pattern: Remove wrapping div. ([36090](https://github.com/WordPress/gutenberg/pull/36090))
|
153 |
+
- Post Comment: Handle the case where a comment does not exist. ([35810](https://github.com/WordPress/gutenberg/pull/35810))
|
154 |
+
- Post Content: Ensure the item after post content clears floats. ([36006](https://github.com/WordPress/gutenberg/pull/36006))
|
155 |
+
- Post Navigation Link: Do not translate HTML tag. ([35930](https://github.com/WordPress/gutenberg/pull/35930))
|
156 |
+
- Post Template Block: Move inner blocks container to separate component. ([35945](https://github.com/WordPress/gutenberg/pull/35945))
|
157 |
+
- Post Terms: Prevent the block from breaking on pages. ([35957](https://github.com/WordPress/gutenberg/pull/35957))
|
158 |
+
- Site Logo: Fix center alignment. ([35971](https://github.com/WordPress/gutenberg/pull/35971))
|
159 |
+
- Fix submenus not opening on click. ([36290](https://github.com/WordPress/gutenberg/pull/36290))
|
160 |
+
|
161 |
+
|
162 |
+
#### Components
|
163 |
+
- AnglePickerControl: Use admin color scheme. ([35908](https://github.com/WordPress/gutenberg/pull/35908))
|
164 |
+
- ColorListPicker: Fix spacing to accomodate the new color picker. ([36017](https://github.com/WordPress/gutenberg/pull/36017))
|
165 |
+
- ColorPalette: Fix className. ([36016](https://github.com/WordPress/gutenberg/pull/36016))
|
166 |
+
- ColorPicker: Fix unexpected movements, and closing on first click in the color picker. ([35670](https://github.com/WordPress/gutenberg/pull/35670))
|
167 |
+
- Popover: Check anchorDocument default view before removing events. ([35832](https://github.com/WordPress/gutenberg/pull/35832))
|
168 |
+
- RangeControl: Fix style issue in RTL. ([35777](https://github.com/WordPress/gutenberg/pull/35777))
|
169 |
+
- Storybook: Lazy load LTR/RTL styles for consistent specificity. ([35771](https://github.com/WordPress/gutenberg/pull/35771))
|
170 |
+
- Text: Fix text color value to use correct gray color value for Link UI preview description text. ([35851](https://github.com/WordPress/gutenberg/pull/35851))
|
171 |
+
|
172 |
+
#### Global Styles
|
173 |
+
- Fix navigation in global styles sidebar. ([36203](https://github.com/WordPress/gutenberg/pull/36203))
|
174 |
+
- Fix presets data for themes that do not provide any preset. ([36054](https://github.com/WordPress/gutenberg/pull/36054))
|
175 |
+
- Generate preset metadata for font-family in the site editor. ([36022](https://github.com/WordPress/gutenberg/pull/36022))
|
176 |
+
- Hotfix for leftovers of `WP_Theme_JSON_Resolver::Get_merged_data`. ([36173](https://github.com/WordPress/gutenberg/pull/36173))
|
177 |
+
- Lower the specificity of border & padding styles for the outline block style in the button block. ([35968](https://github.com/WordPress/gutenberg/pull/35968))
|
178 |
+
- Theme.json: Remove custom prefixes from properties that did not land in 5.8. ([34485](https://github.com/WordPress/gutenberg/pull/34485))
|
179 |
+
|
180 |
+
#### Block Editor
|
181 |
+
- Fix inserter with block pattern categories. ([36116](https://github.com/WordPress/gutenberg/pull/36116))
|
182 |
+
- Fix navigation block link control zero value in it. ([36198](https://github.com/WordPress/gutenberg/pull/36198))
|
183 |
+
- Fix the update of link and suggestions in LinkControl. ([32320](https://github.com/WordPress/gutenberg/pull/32320))
|
184 |
+
- Make Link UI inactive if selection extends beyond format bounds or encounters new link. ([35946](https://github.com/WordPress/gutenberg/pull/35946))
|
185 |
+
- Fix selection by holding shift key for nested blocks. ([35668](https://github.com/WordPress/gutenberg/pull/35668))
|
186 |
+
- Fix shift+click on a child block with its parent selected. ([35988](https://github.com/WordPress/gutenberg/pull/35988))
|
187 |
+
|
188 |
+
#### Design Tools
|
189 |
+
- Font Appearance: Improve consistency of label in Typography panel. ([35860](https://github.com/WordPress/gutenberg/pull/35860))
|
190 |
+
- Font Family Support: Fix skip serialization check. ([36073](https://github.com/WordPress/gutenberg/pull/36073))
|
191 |
+
- Navigation: Force text decoration styles on nav item in editor. ([35859](https://github.com/WordPress/gutenberg/pull/35859))
|
192 |
+
|
193 |
+
#### Template Editor
|
194 |
+
- Clear selected block when clicking outside in the template part focus mode. ([35816](https://github.com/WordPress/gutenberg/pull/35816))
|
195 |
+
- Templates: Only include templates for the current post types. ([35802](https://github.com/WordPress/gutenberg/pull/35802))
|
196 |
+
|
197 |
+
#### Plugin
|
198 |
+
- Fix fatal error in Site Logo block in WP 5.9. ([36195](https://github.com/WordPress/gutenberg/pull/36195))
|
199 |
+
|
200 |
+
#### Patterns
|
201 |
+
- Update unsaved navigation block flow. ([35976](https://github.com/WordPress/gutenberg/pull/35976))
|
202 |
+
|
203 |
+
#### Accessibility
|
204 |
+
- Try to communicate to screen readers that post title is textarea. ([35898](https://github.com/WordPress/gutenberg/pull/35898))
|
205 |
+
|
206 |
+
#### Full Site Editing
|
207 |
+
- Add fallback handling for plugins or themes using the Customizer. ([35877](https://github.com/WordPress/gutenberg/pull/35877))
|
208 |
+
|
209 |
+
#### Widgets Editor
|
210 |
+
- Fix layout styles not applying in widgets customizer. ([35865](https://github.com/WordPress/gutenberg/pull/35865))
|
211 |
+
|
212 |
+
#### CSS & Styling
|
213 |
+
- Editor defaults for themes with no editor styles and when user disables theme styles. ([35736](https://github.com/WordPress/gutenberg/pull/35736))
|
214 |
+
|
215 |
+
#### History
|
216 |
+
- Support disabling autosave for native Unsupported Block Editor. ([35639](https://github.com/WordPress/gutenberg/pull/35639))
|
217 |
+
|
218 |
+
|
219 |
+
### Performance
|
220 |
+
|
221 |
+
#### List View
|
222 |
+
- Fix pagedown/pageup and improve scrolling. ([36063](https://github.com/WordPress/gutenberg/pull/36063))
|
223 |
+
|
224 |
+
#### Block Editor
|
225 |
+
- Improve opening of the block inserter via manual token-based analysis of reusable blocks. ([35763](https://github.com/WordPress/gutenberg/pull/35763))
|
226 |
+
|
227 |
+
#### Widgets Editor
|
228 |
+
- List View: Avoid re-rendering all items on block focus. Enable persistent List View in the widget editor. ([35706](https://github.com/WordPress/gutenberg/pull/35706))
|
229 |
+
|
230 |
+
#### Accessibility
|
231 |
+
- List View: Render a fixed number of items. ([35230](https://github.com/WordPress/gutenberg/pull/35230))
|
232 |
+
|
233 |
+
|
234 |
+
### Experiments
|
235 |
+
|
236 |
+
#### Block Library
|
237 |
+
- Adds in basic styling for post comment form. ([35704](https://github.com/WordPress/gutenberg/pull/35704))
|
238 |
+
- Navigation Area block. ([36178](https://github.com/WordPress/gutenberg/pull/36178))
|
239 |
+
- Migrate classic menus to block-based menus on theme switch. ([36255](https://github.com/WordPress/gutenberg/pull/36255))
|
240 |
+
- Post Comments block: Hide the "Comments Closed" message. ([35743](https://github.com/WordPress/gutenberg/pull/35743))
|
241 |
+
- Mobile responsive navigation by default. ([35917](https://github.com/WordPress/gutenberg/pull/35917))
|
242 |
+
- Reword navigation color labels. ([35916](https://github.com/WordPress/gutenberg/pull/35916))
|
243 |
+
- Show the placeholder again when moving from a valid menu to non-existing menu. ([36210](https://github.com/WordPress/gutenberg/pull/36210))
|
244 |
+
- Provide a way to manage wp_navigation posts from wp-admin. ([36126](https://github.com/WordPress/gutenberg/pull/36126))
|
245 |
+
|
246 |
+
#### Global Styles
|
247 |
+
- Add a Global Styles endpoint and use it in the site editor. ([35801](https://github.com/WordPress/gutenberg/pull/35801))
|
248 |
+
- Fix: Crash when resetting user color palette. ([36233](https://github.com/WordPress/gutenberg/pull/36233))
|
249 |
+
- Fix: Show user colors on palette indicator. ([36232](https://github.com/WordPress/gutenberg/pull/36232))
|
250 |
+
- Migrate theme.json v1 to v2. ([36155](https://github.com/WordPress/gutenberg/pull/36155))
|
251 |
+
- Update: Show all color and gradient origins (core, theme, and user). ([35970](https://github.com/WordPress/gutenberg/pull/35970))
|
252 |
+
|
253 |
+
#### Full Site Editing
|
254 |
+
- Always display Customizer menu item. ([36168](https://github.com/WordPress/gutenberg/pull/36168))
|
255 |
+
- Revert "Always display Customizer menu item". ([36189](https://github.com/WordPress/gutenberg/pull/36189))
|
256 |
+
- Remove slug and status columns from templates list in Appearance > Templates. ([35996](https://github.com/WordPress/gutenberg/pull/35996))
|
257 |
+
|
258 |
+
#### REST API
|
259 |
+
- Improve unit test coverage for REST API menus endpoints.. ([36177](https://github.com/WordPress/gutenberg/pull/36177))
|
260 |
+
|
261 |
+
#### Navigation Screen
|
262 |
+
- Navigation Editor: Show a warning when trying to save unsupported blocks. ([35993](https://github.com/WordPress/gutenberg/pull/35993))
|
263 |
+
|
264 |
+
#### Reusable Blocks
|
265 |
+
- Editor: Multi-Entity Saving UI Improvements. ([35933](https://github.com/WordPress/gutenberg/pull/35933))
|
266 |
+
|
267 |
+
#### Components
|
268 |
+
- Update: Implement new color palette editor component. ([35783](https://github.com/WordPress/gutenberg/pull/35783))
|
269 |
+
|
270 |
+
#### Block Editor
|
271 |
+
- Split control for URL and Text within Link UI. ([33849](https://github.com/WordPress/gutenberg/pull/33849))
|
272 |
+
|
273 |
+
|
274 |
+
### Documentation
|
275 |
+
|
276 |
+
- Add Thunks Tutorial. ([36051](https://github.com/WordPress/gutenberg/pull/36051))
|
277 |
+
- Add a more detailed guide for react native development. ([35529](https://github.com/WordPress/gutenberg/pull/35529))
|
278 |
+
- Add usage documentation for Rich Text package. ([35885](https://github.com/WordPress/gutenberg/pull/35885))
|
279 |
+
- Added link to Ways to keep up with Gutenberg & Full Site Editing. ([36077](https://github.com/WordPress/gutenberg/pull/36077))
|
280 |
+
- Blocks: Add view script to block schema and documentation. ([36175](https://github.com/WordPress/gutenberg/pull/36175))
|
281 |
+
- Blocks: Document changes to style and editorStyle in `block.json`. ([36218](https://github.com/WordPress/gutenberg/pull/36218))
|
282 |
+
- Docs: Add Getting Started level for documentation. ([35891](https://github.com/WordPress/gutenberg/pull/35891))
|
283 |
+
- Docs: Add section about using the schema during development. ([35835](https://github.com/WordPress/gutenberg/pull/35835))
|
284 |
+
- Docs: Fix Typos in widgets/overview.md. ([36078](https://github.com/WordPress/gutenberg/pull/36078))
|
285 |
+
- Docs: Fix schema file URL. ([36157](https://github.com/WordPress/gutenberg/pull/36157))
|
286 |
+
- Docs: Improve Getting Started landing page. ([35893](https://github.com/WordPress/gutenberg/pull/35893))
|
287 |
+
- Docs: Theme.json - fix typo. ([36139](https://github.com/WordPress/gutenberg/pull/36139))
|
288 |
+
- Docs: Tweak organization for getting-started documentation. ([34091](https://github.com/WordPress/gutenberg/pull/34091))
|
289 |
+
- Docs: Update the recommendation for the cadence of npm releases. ([35925](https://github.com/WordPress/gutenberg/pull/35925))
|
290 |
+
- Env docs: Update wordpress-develop example to clarify src/build location. ([35978](https://github.com/WordPress/gutenberg/pull/35978))
|
291 |
+
- Fix a small typo in the "Getting started" documentation. ([36109](https://github.com/WordPress/gutenberg/pull/36109))
|
292 |
+
- Fix wording in the Authoring Experience documentation. ([35969](https://github.com/WordPress/gutenberg/pull/35969))
|
293 |
+
- Move create-block changelog entries back to Unreleased section. ([35886](https://github.com/WordPress/gutenberg/pull/35886))
|
294 |
+
- Release Docs: Remove consecutive RCs warning. ([35855](https://github.com/WordPress/gutenberg/pull/35855))
|
295 |
+
- Update Components CONTRIBUTING.md indentation. ([35866](https://github.com/WordPress/gutenberg/pull/35866))
|
296 |
+
- fix: Backtick added around `<textarea>` input tag in readme file. ([34813](https://github.com/WordPress/gutenberg/pull/34813))
|
297 |
+
- theme.json docs: Add missing settings & styles. ([36137](https://github.com/WordPress/gutenberg/pull/36137))
|
298 |
+
|
299 |
+
|
300 |
+
### Code Quality
|
301 |
+
|
302 |
+
- Add Theme's base global styles endpoint. ([35985](https://github.com/WordPress/gutenberg/pull/35985))
|
303 |
+
- Add alexstine as code owner for post-title. ([36056](https://github.com/WordPress/gutenberg/pull/36056))
|
304 |
+
- Add block.json schema to generated file. ([35843](https://github.com/WordPress/gutenberg/pull/35843))
|
305 |
+
- Add schemas package. ([35998](https://github.com/WordPress/gutenberg/pull/35998))
|
306 |
+
- Improvements for the global styles endpoint. ([36071](https://github.com/WordPress/gutenberg/pull/36071))
|
307 |
+
- Make sure tests are pure. ([36253](https://github.com/WordPress/gutenberg/pull/36253))
|
308 |
+
- Move getStablePath function into the wordrpess/url package. ([35992](https://github.com/WordPress/gutenberg/pull/35992))
|
309 |
+
- Remove "experimental" from URL details REST controller and promote to `v1` namespace. ([35915](https://github.com/WordPress/gutenberg/pull/35915))
|
310 |
+
- Remove GB prefixed functions from template part. ([36180](https://github.com/WordPress/gutenberg/pull/36180))
|
311 |
+
- Schemas: Theme.json - Add `title` to templateParts. ([36145](https://github.com/WordPress/gutenberg/pull/36145))
|
312 |
+
- Updates `WP_Theme_JSON_Resolver` and tests to be equal to core. ([36223](https://github.com/WordPress/gutenberg/pull/36223))
|
313 |
+
- Update: Use small button on tools panel toggle. ([35935](https://github.com/WordPress/gutenberg/pull/35935))
|
314 |
+
- block-editor store: Migrate to thunks. ([35720](https://github.com/WordPress/gutenberg/pull/35720))
|
315 |
+
- theme.json: Update test data. ([35883](https://github.com/WordPress/gutenberg/pull/35883))
|
316 |
+
|
317 |
+
#### Block Library
|
318 |
+
- Heading: Auto-generated anchors hide implementation details. ([35747](https://github.com/WordPress/gutenberg/pull/35747))
|
319 |
+
- Mark Post Comments as stable and Comments Query Loop as experimental. ([36132](https://github.com/WordPress/gutenberg/pull/36132))
|
320 |
+
- Mark Post Navigation Link and Term Description blocks as stable. ([36163](https://github.com/WordPress/gutenberg/pull/36163))
|
321 |
+
- Remove `post-` prefix from Comment Template inner blocks. ([36171](https://github.com/WordPress/gutenberg/pull/36171))
|
322 |
+
|
323 |
+
#### Global Styles
|
324 |
+
- Refactor theme.json migrations to be a single class. ([36182](https://github.com/WordPress/gutenberg/pull/36182))
|
325 |
+
- Remove locations we do not translate from `theme-i18n.json`. ([35881](https://github.com/WordPress/gutenberg/pull/35881))
|
326 |
+
- Update `theme.json` schema migrations. ([36154](https://github.com/WordPress/gutenberg/pull/36154))
|
327 |
+
|
328 |
+
#### Post Editor
|
329 |
+
- Refactor FlatTermSelector into a functional component. ([33459](https://github.com/WordPress/gutenberg/pull/33459))
|
330 |
+
- Typo: Translated site properties. ([36097](https://github.com/WordPress/gutenberg/pull/36097))
|
331 |
+
|
332 |
+
#### Components
|
333 |
+
- ToolsPanel: Use Grid component to handle layout. ([35621](https://github.com/WordPress/gutenberg/pull/35621))
|
334 |
+
- Update spacing in CircularOptionPicker. ([36014](https://github.com/WordPress/gutenberg/pull/36014))
|
335 |
+
|
336 |
+
#### Data Layer
|
337 |
+
- [data]: Rename types file from .d.ts to .ts. ([36062](https://github.com/WordPress/gutenberg/pull/36062))
|
338 |
+
|
339 |
+
#### CSS & Styling
|
340 |
+
- Remove invalid buttons block CSS property. ([33793](https://github.com/WordPress/gutenberg/pull/33793))
|
341 |
+
|
342 |
+
|
343 |
+
### Tools
|
344 |
+
|
345 |
+
- Remove @chrisvanpatten from CODEOWNERS. ([35937](https://github.com/WordPress/gutenberg/pull/35937))
|
346 |
+
|
347 |
+
#### Testing
|
348 |
+
- Add a method to disable auto-accepting dialogs. ([35828](https://github.com/WordPress/gutenberg/pull/35828))
|
349 |
+
- Skip broken widgets test. ([36239](https://github.com/WordPress/gutenberg/pull/36239))
|
350 |
+
- Skip flaky test for loading block stylesheets in iframe. ([35961](https://github.com/WordPress/gutenberg/pull/35961))
|
351 |
+
- Tests: Run block fixtures through KSES. ([35611](https://github.com/WordPress/gutenberg/pull/35611))
|
352 |
+
|
353 |
+
#### Block Library
|
354 |
+
- Mark FSE blocks as non experimental. ([35979](https://github.com/WordPress/gutenberg/pull/35979))
|
355 |
+
|
356 |
+
|
357 |
+
### Various
|
358 |
+
|
359 |
+
- Apply borders to canvas rather than other UI elements. ([31081](https://github.com/WordPress/gutenberg/pull/31081))
|
360 |
+
- Changes for FSE backport in core. ([36201](https://github.com/WordPress/gutenberg/pull/36201))
|
361 |
+
|
362 |
+
#### Site Editor
|
363 |
+
- Remove navigation panel in site editor. ([36194](https://github.com/WordPress/gutenberg/pull/36194))
|
364 |
+
|
365 |
+
#### Components
|
366 |
+
- Modal: Wrap the modal contents in a StyleProvider. ([36261](https://github.com/WordPress/gutenberg/pull/36261))
|
367 |
+
|
368 |
+
|
369 |
+
|
370 |
+
= 11.8.2 =
|
371 |
+
|
372 |
+
|
373 |
+
|
374 |
+
### Various
|
375 |
+
|
376 |
+
#### Block Library
|
377 |
+
- Cover Block: Fix default background dim. ([36312](https://github.com/WordPress/gutenberg/pull/36312))
|
378 |
+
|
379 |
+
|
380 |
+
|
381 |
|
382 |
|
383 |
= 11.9.0-rc.2 =
|
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: 11.8.
|
9 |
* Author: Gutenberg Team
|
10 |
* Text Domain: gutenberg
|
11 |
*
|
@@ -13,8 +13,8 @@
|
|
13 |
*/
|
14 |
|
15 |
### BEGIN AUTO-GENERATED DEFINES
|
16 |
-
define( 'GUTENBERG_VERSION', '11.8.
|
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.7
|
7 |
* Requires PHP: 5.6
|
8 |
+
* Version: 11.8.3
|
9 |
* Author: Gutenberg Team
|
10 |
* Text Domain: gutenberg
|
11 |
*
|
13 |
*/
|
14 |
|
15 |
### BEGIN AUTO-GENERATED DEFINES
|
16 |
+
define( 'GUTENBERG_VERSION', '11.8.3' );
|
17 |
+
define( 'GUTENBERG_GIT_COMMIT', '8637cfc1c3550a63552e7a7985f23553b42466e5' );
|
18 |
### END AUTO-GENERATED DEFINES
|
19 |
|
20 |
gutenberg_pre_init();
|
lib/class-wp-theme-json-schema-v0.php
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Class that implements a
|
4 |
* a given structure in v0 schema to the latest one.
|
5 |
*
|
6 |
* @package gutenberg
|
7 |
*/
|
8 |
|
9 |
/**
|
10 |
-
* Class that implements a
|
11 |
* a given structure in v0 schema to the latest one.
|
12 |
*/
|
13 |
-
class WP_Theme_JSON_Schema_V0 implements
|
14 |
|
15 |
/**
|
16 |
* How to address all the blocks
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Class that implements a WP_Theme_JSON_Schema_Gutenberg to convert
|
4 |
* a given structure in v0 schema to the latest one.
|
5 |
*
|
6 |
* @package gutenberg
|
7 |
*/
|
8 |
|
9 |
/**
|
10 |
+
* Class that implements a WP_Theme_JSON_Schema_Gutenberg to convert
|
11 |
* a given structure in v0 schema to the latest one.
|
12 |
*/
|
13 |
+
class WP_Theme_JSON_Schema_V0 implements WP_Theme_JSON_Schema_Gutenberg {
|
14 |
|
15 |
/**
|
16 |
* How to address all the blocks
|
lib/interface-wp-theme-json-schema.php
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
*
|
11 |
* @package gutenberg
|
12 |
*/
|
13 |
-
interface
|
14 |
/**
|
15 |
* Parses an array that follows an old theme.json schema
|
16 |
* into the latest theme.json schema.
|
10 |
*
|
11 |
* @package gutenberg
|
12 |
*/
|
13 |
+
interface WP_Theme_JSON_Schema_Gutenberg {
|
14 |
/**
|
15 |
* Parses an array that follows an old theme.json schema
|
16 |
* into the latest theme.json schema.
|
readme.txt
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
=== Gutenberg ===
|
2 |
Contributors: matveb, joen, karmatosed
|
3 |
Tested up to: 5.8
|
4 |
-
Stable tag: 11.8.
|
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 11.8.
|
1 |
=== Gutenberg ===
|
2 |
Contributors: matveb, joen, karmatosed
|
3 |
Tested up to: 5.8
|
4 |
+
Stable tag: 11.8.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 11.8.3, please navigate to the <a href="https://github.com/WordPress/gutenberg/releases/tag/v11.8.3">release page</a>.
|