Version Description
Download this release
Release Info
Developer | mcsf |
Plugin | Gutenberg |
Version | 4.1.1 |
Comparing to | |
See all releases |
Code changes from version 4.1.0 to 4.1.1
- changelog.txt +4 -0
- gutenberg.php +3 -3
- lib/blocks.php +3 -2
- lib/compat.php +1 -1
- readme.txt +2 -116
changelog.txt
CHANGED
@@ -1,5 +1,9 @@
|
|
1 |
== Changelog ==
|
2 |
|
|
|
|
|
|
|
|
|
3 |
= 4.1.0 =
|
4 |
|
5 |
* Implement a block navigation system that allows selecting child or parent blocks within nested blocks (like folder path traversal) as well as functioning as a general fast navigation system when a root block is selected.
|
1 |
== Changelog ==
|
2 |
|
3 |
+
= 4.1.1 =
|
4 |
+
|
5 |
+
* Fix dynamic blocks not rendering in the frontend when meta-boxes present.
|
6 |
+
|
7 |
= 4.1.0 =
|
8 |
|
9 |
* Implement a block navigation system that allows selecting child or parent blocks within nested blocks (like folder path traversal) as well as functioning as a general fast navigation system when a root block is selected.
|
gutenberg.php
CHANGED
@@ -3,15 +3,15 @@
|
|
3 |
* Plugin Name: Gutenberg
|
4 |
* Plugin URI: https://github.com/WordPress/gutenberg
|
5 |
* Description: Printing since 1440. This is the development plugin for the new block editor in core.
|
6 |
-
* Version: 4.1.
|
7 |
* Author: Gutenberg Team
|
8 |
*
|
9 |
* @package gutenberg
|
10 |
*/
|
11 |
|
12 |
### BEGIN AUTO-GENERATED DEFINES
|
13 |
-
define( 'GUTENBERG_VERSION', '4.1.
|
14 |
-
define( 'GUTENBERG_GIT_COMMIT', '
|
15 |
### END AUTO-GENERATED DEFINES
|
16 |
|
17 |
gutenberg_pre_init();
|
3 |
* Plugin Name: Gutenberg
|
4 |
* Plugin URI: https://github.com/WordPress/gutenberg
|
5 |
* Description: Printing since 1440. This is the development plugin for the new block editor in core.
|
6 |
+
* Version: 4.1.1
|
7 |
* Author: Gutenberg Team
|
8 |
*
|
9 |
* @package gutenberg
|
10 |
*/
|
11 |
|
12 |
### BEGIN AUTO-GENERATED DEFINES
|
13 |
+
define( 'GUTENBERG_VERSION', '4.1.1' );
|
14 |
+
define( 'GUTENBERG_GIT_COMMIT', '059b4fefc07e5cd741c6ab6ad06befc3f3756662' );
|
15 |
### END AUTO-GENERATED DEFINES
|
16 |
|
17 |
gutenberg_pre_init();
|
lib/blocks.php
CHANGED
@@ -262,6 +262,7 @@ if ( ! function_exists( 'do_blocks' ) ) {
|
|
262 |
|
263 |
return $rendered_content;
|
264 |
}
|
|
|
265 |
add_filter( 'the_content', 'do_blocks', 7 ); // BEFORE do_shortcode() and oembed.
|
266 |
}
|
267 |
|
@@ -292,7 +293,7 @@ if ( ! function_exists( 'strip_dynamic_blocks_add_filter' ) ) {
|
|
292 |
* @return string
|
293 |
*/
|
294 |
function strip_dynamic_blocks_add_filter( $text ) {
|
295 |
-
add_filter( 'the_content', 'strip_dynamic_blocks', 6 );
|
296 |
|
297 |
return $text;
|
298 |
}
|
@@ -312,7 +313,7 @@ if ( ! function_exists( 'strip_dynamic_blocks_remove_filter' ) ) {
|
|
312 |
* @return string
|
313 |
*/
|
314 |
function strip_dynamic_blocks_remove_filter( $text ) {
|
315 |
-
remove_filter( 'the_content', 'strip_dynamic_blocks',
|
316 |
|
317 |
return $text;
|
318 |
}
|
262 |
|
263 |
return $rendered_content;
|
264 |
}
|
265 |
+
|
266 |
add_filter( 'the_content', 'do_blocks', 7 ); // BEFORE do_shortcode() and oembed.
|
267 |
}
|
268 |
|
293 |
* @return string
|
294 |
*/
|
295 |
function strip_dynamic_blocks_add_filter( $text ) {
|
296 |
+
add_filter( 'the_content', 'strip_dynamic_blocks', 6 );
|
297 |
|
298 |
return $text;
|
299 |
}
|
313 |
* @return string
|
314 |
*/
|
315 |
function strip_dynamic_blocks_remove_filter( $text ) {
|
316 |
+
remove_filter( 'the_content', 'strip_dynamic_blocks', 6 );
|
317 |
|
318 |
return $text;
|
319 |
}
|
lib/compat.php
CHANGED
@@ -114,7 +114,7 @@ function gutenberg_wpautop( $content ) {
|
|
114 |
return wpautop( $content );
|
115 |
}
|
116 |
remove_filter( 'the_content', 'wpautop' );
|
117 |
-
add_filter( 'the_content', 'gutenberg_wpautop',
|
118 |
|
119 |
|
120 |
/**
|
114 |
return wpautop( $content );
|
115 |
}
|
116 |
remove_filter( 'the_content', 'wpautop' );
|
117 |
+
add_filter( 'the_content', 'gutenberg_wpautop', 6 );
|
118 |
|
119 |
|
120 |
/**
|
readme.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Contributors: matveb, joen, karmatosed
|
3 |
Requires at least: 4.9.8
|
4 |
Tested up to: 4.9
|
5 |
-
Stable tag: 4.
|
6 |
License: GPLv2 or later
|
7 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
8 |
|
@@ -81,118 +81,4 @@ See also <a href="https://github.com/WordPress/gutenberg/blob/master/CONTRIBUTIN
|
|
81 |
|
82 |
= Latest =
|
83 |
|
84 |
-
|
85 |
-
|
86 |
-
* Implement a block navigation system that allows selecting child or parent blocks within nested blocks (like folder path traversal) as well as functioning as a general fast navigation system when a root block is selected.
|
87 |
-
* Add a Media & Text block that can facilitate the creation of split column content and allows the split to be resizable.
|
88 |
-
* Show block style selector in the block inspector.
|
89 |
-
* Rename Cover Image to just Cover and add support for video backgrounds.
|
90 |
-
* Add a new accessible Date Picker. This was months in the works.
|
91 |
-
* Reimplement the Color Picker component to greatly improve keyboard navigation and screenreader operations.
|
92 |
-
* Add style variation for Table block with stripe design.
|
93 |
-
* Add “Options” modal to toggle on/off the different document panels.
|
94 |
-
* Allow toggling visibility of registered meta-boxes from the “Options” modal.
|
95 |
-
* Handle cases where a block is on the page but the block is not registered by showing a dialog with the available options.
|
96 |
-
* Ensure compatibility with WordPress 5.0.
|
97 |
-
* When pasting single lines of text, treat them as inline text.
|
98 |
-
* Add ability to insert images from URL directly in the Image block.
|
99 |
-
* Make Columns block responsive.
|
100 |
-
* Make responsive embeds a theme option.
|
101 |
-
* Add direction attribute / LTR button to the Paragraph block.
|
102 |
-
* Display accurate updated and publish notices based on post type.
|
103 |
-
* Update buttons in the editor header area to improve consistency (save, revert to draft, etc).
|
104 |
-
* Avoid horizontal writing flow navigation in native inputs.
|
105 |
-
* Move toggle buttons to the left of their control handle.
|
106 |
-
* Add explicit bottom margin to figure elements (like image and embed).
|
107 |
-
* Allow transforming a Pullquote to a Quote and viceversa.
|
108 |
-
* Allow block inserter to search for blocks by typing their category.
|
109 |
-
* Add a label to the URL field in the Publishing Flow panel.
|
110 |
-
* Use the stored date format in settings for the LatestPosts block.
|
111 |
-
* Remove the placeholder text and use visible label instead in TokenField.
|
112 |
-
* Add translator comment for “View” menu label.
|
113 |
-
* Make YouTube embed classes consistent between front-end and back-end.
|
114 |
-
* Take into account citation when transforming a Quote to a Paragraph.
|
115 |
-
* Restore ⌘A’s “select all blocks” behaviour.
|
116 |
-
* Allow themes to disable custom font size functionality.
|
117 |
-
* Make missing custom font sizes labels translatable.
|
118 |
-
* Ensure cite is string when merging quote.
|
119 |
-
* Defer fetching non-hierarchical terms in FlatTermSelector.
|
120 |
-
* Move the theme support data previously exposed at the REST API index into a read-only theme controller for the active theme.
|
121 |
-
* Detect oEmbed responses where the oEmbed provider is missing.
|
122 |
-
* Use “Save as Pending” when the Pending checkbox is active.
|
123 |
-
* Use the post type’s REST controller class as autosave parent controller.
|
124 |
-
* Use post type labels in PostFeaturedImage component.
|
125 |
-
* Enforce text color within inline boundaries to ensure contrast and legibility.
|
126 |
-
* Add self-closing tag support (like path element) when comparing HTML.
|
127 |
-
* Make sure autocomplete triggers are regex safe.
|
128 |
-
* Silence PHP errors on REST API responses.
|
129 |
-
* Show permalink label as bold text.
|
130 |
-
* Change the block renderer controller endpoint and namespace from /gutenberg/v1/block-renderer/ to /wp/v2/block-renderer/.
|
131 |
-
* Hide “edit image” toolbar buttons when no image is selected.
|
132 |
-
* Hide “Add to Reusable Blocks” action when ‘core/block’ is disabled.
|
133 |
-
* Handle blocks passing null as RichText value.
|
134 |
-
* Improve validation for attribute names in rich-text toHTMLString.
|
135 |
-
* Allow to globally overwrite defined colors in PanelColorSettings.
|
136 |
-
* Fix regressions with Button block preview display.
|
137 |
-
* Fix issue with color picker not appearing on mobile.
|
138 |
-
* Fix publish buttons with long text.
|
139 |
-
* Fix link to manifest file in contributing file.
|
140 |
-
* Fix demo content crash on malformed URL.
|
141 |
-
* Fix issue in docs manifest.
|
142 |
-
* Fix media caption processing with the new RichText structure.
|
143 |
-
* Fix problem with Gallery losing assigned columns when alignments are applied.
|
144 |
-
* Fix an issue where the Categories block would always use the center class alignment regardless of what was set.
|
145 |
-
* Fix scroll issue on small viewports.
|
146 |
-
* Fix formatting in getEditorSettings docs and update getTokenSettings docs.
|
147 |
-
* Fix padding in block validation modal.
|
148 |
-
* Fix extra instances of old rich text value source.
|
149 |
-
* Fix issue with adding links from the auto-completer.
|
150 |
-
* Fix outdated docs for RichText.
|
151 |
-
* Fix pre-publish panel overflow issue.
|
152 |
-
* Fix missing styles for medium and huge font size classes.
|
153 |
-
* Fix autocomplete keyboard navigation in link popover.
|
154 |
-
* Fix a text selection exception in Safari.
|
155 |
-
* Fix WordPress embed URL resolution and embeds as reusable blocks.
|
156 |
-
* Avoid triggering a redirect when creating a new Table block.
|
157 |
-
* Only use rich text value internally to the RichText component.
|
158 |
-
* Ensure multiline prop is either “p” or “li” in RichText.
|
159 |
-
* Do not use dangerouslySetInnerHTML with i18n string.
|
160 |
-
* Account for null value in redux-routine createRuntime.
|
161 |
-
* Extract link container from RichText.
|
162 |
-
* Allow default_title, default_content, and default_excerpt filters to function as expected.
|
163 |
-
* Replace gutenberg in classNames with block-editor.
|
164 |
-
* Restore the order of actions usually fired in edit-form-advanced.php.
|
165 |
-
* Update REST Search controller to use ‘wp/v2’ namespace.
|
166 |
-
* Improve keyboard shortcuts section in FAQ.
|
167 |
-
* Change all occurrences of ‘new window’ to ‘new tab’.
|
168 |
-
* Conditionally load PHP classes in preparation for inclusion in core.
|
169 |
-
* Update rich-text source mentions in docs.
|
170 |
-
* Deprecate PanelColor components.
|
171 |
-
* Use mock response for demo test if Vimeo is down.
|
172 |
-
* Adding a bit more verbosity to the install script instructions.
|
173 |
-
* Document isDefault option for block styles.
|
174 |
-
* Update docs for new REST API namespace.
|
175 |
-
* Update shortcut docs with new block navigation menu shortcut.
|
176 |
-
* Further improve Release docs.
|
177 |
-
* Updated custom icon documentation links.
|
178 |
-
* Add all available script handles to documentation.
|
179 |
-
* Add wp-polyfill to scripts.md.
|
180 |
-
* Add e2e tests for List and Quote transformations.
|
181 |
-
* Fail CI build if local changes exist.
|
182 |
-
* Attempt to always use the latest version of nvm.
|
183 |
-
* Add bare handling for lint-js script.
|
184 |
-
* Add support for Webpack bundle analyzer.
|
185 |
-
* Improve setup of Lerna.
|
186 |
-
* Update clipboard dependency to at least 2.0.1.
|
187 |
-
* Recreate the demo content post as an e2e test using keyboard commands.
|
188 |
-
* Add mobile SVG compatibility for SVG block icons.
|
189 |
-
* Fix className style in SVG primitive.
|
190 |
-
* Split Paragraph and Heading blocks on enter.KEY. Refactor block splitting code on paragraph and heading blocks.
|
191 |
-
* Add caption support for image block.
|
192 |
-
* Rename PHP functions to prevent conflict with core
|
193 |
-
* Fix some typos
|
194 |
-
* Improve the Toggle Control elements DOM order for better accessibility
|
195 |
-
* Set correct media type for video poster image and manage focus properly.
|
196 |
-
* Implement fetchAllMiddleware to handle per_page=-1 through pagination in wp.apiFetch
|
197 |
-
* Fix Slash autocomplete: Support non-Latin inputs
|
198 |
-
* Add WordPress logo animation for preview
|
2 |
Contributors: matveb, joen, karmatosed
|
3 |
Requires at least: 4.9.8
|
4 |
Tested up to: 4.9
|
5 |
+
Stable tag: 4.1.0
|
6 |
License: GPLv2 or later
|
7 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
8 |
|
81 |
|
82 |
= Latest =
|
83 |
|
84 |
+
* Fix dynamic blocks not rendering in the frontend when meta-boxes present.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|