Gutenberg - Version 10.7.2

Version Description

Download this release

Release Info

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

Code changes from version 10.7.1 to 10.7.2

Files changed (4) hide show
  1. changelog.txt +200 -12
  2. gutenberg.php +3 -3
  3. lib/global-styles.php +3 -3
  4. readme.txt +2 -2
changelog.txt CHANGED
@@ -1,20 +1,208 @@
1
  == Changelog ==
2
 
3
- = 10.7.1 =
4
 
5
-
6
-
7
  ### Bug Fixes
8
 
9
- - Latest Posts: Declare 'hasPosts' before 'inspectorControls'. ([32160](https://github.com/WordPress/gutenberg/pull/32160))
10
- - Fix image/cover transform duotone error. ([32006](https://github.com/WordPress/gutenberg/pull/32006))
11
-
12
- ### Various
13
-
14
- - Block Patterns API: Update for core compatibility. ([32240](https://github.com/WordPress/gutenberg/pull/32240))
15
- - [Patterns]: Prepare GB bundled patterns for core back port. ([32086](https://github.com/WordPress/gutenberg/pull/32086))
16
-
17
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
 
19
 
20
  = 10.7.0 =
1
  == Changelog ==
2
 
3
+ = 10.7.2 =
4
 
 
 
5
  ### Bug Fixes
6
 
7
+ - Fix Logic to enable custom colors, gradients, and font sizes. ([32200](https://github.com/WordPress/gutenberg/pull/32200))
8
+
9
+
10
+ = 10.8.0-rc.1 =
11
+
12
+
13
+
14
+ ### Enhancements
15
+
16
+ - BoxControl: Add allowReset option. ([32345](https://github.com/WordPress/gutenberg/pull/32345))
17
+ - Add Convert to Regular Blocks button to ellipsis Dropdown. ([32310](https://github.com/WordPress/gutenberg/pull/32310))
18
+ - Page list block: Add active page classes. ([32134](https://github.com/WordPress/gutenberg/pull/32134))
19
+ - Template Mode: Don't display snackbar with the Welcome Guide. ([32076](https://github.com/WordPress/gutenberg/pull/32076))
20
+ - Block Supports: Allow skipping spacing support serialization. ([31973](https://github.com/WordPress/gutenberg/pull/31973))
21
+
22
+ ### Bug Fixes
23
+
24
+ - Fix image border radius. ([32393](https://github.com/WordPress/gutenberg/pull/32393))
25
+ - Fix allowed patterns check. ([32376](https://github.com/WordPress/gutenberg/pull/32376))
26
+ - Fix deselecting block when inspector is opened. ([32361](https://github.com/WordPress/gutenberg/pull/32361))
27
+ - Generate classes from preset slugs in the same way (server & client). ([32352](https://github.com/WordPress/gutenberg/pull/32352))
28
+ - Mobile - Gallery block - Fix gallery images caption text formatting. ([32351](https://github.com/WordPress/gutenberg/pull/32351))
29
+ - File Block: Add an example preview. ([32350](https://github.com/WordPress/gutenberg/pull/32350))
30
+ - Avoid duplicate skip-links in WP 5.8+. ([32346](https://github.com/WordPress/gutenberg/pull/32346))
31
+ - SuggestionsList: Try to use a unique "key". ([32344](https://github.com/WordPress/gutenberg/pull/32344))
32
+ - Fix `theme.json` styles for the `core/list` block. ([32343](https://github.com/WordPress/gutenberg/pull/32343))
33
+ - Prevent saving the post before previewing in locked/read-only mode. ([32341](https://github.com/WordPress/gutenberg/pull/32341))
34
+ - Audio Block: Add an example preview. ([32333](https://github.com/WordPress/gutenberg/pull/32333))
35
+ - Try: Make focus style valid CSS. ([32305](https://github.com/WordPress/gutenberg/pull/32305))
36
+ - Fix aspect ratio of welcome image. ([32302](https://github.com/WordPress/gutenberg/pull/32302))
37
+ - Fix legacy widget block preview iframe. ([32300](https://github.com/WordPress/gutenberg/pull/32300))
38
+ - Fix broken contributors readme files. ([32272](https://github.com/WordPress/gutenberg/pull/32272))
39
+ - Center the welcome image in narrow viewport of widgets customizer. ([32264](https://github.com/WordPress/gutenberg/pull/32264))
40
+ - Fix legacy widget previews. ([32260](https://github.com/WordPress/gutenberg/pull/32260))
41
+ - Limit latest posts featured image width to 100%. ([32245](https://github.com/WordPress/gutenberg/pull/32245))
42
+ - Fix mispelling in the Widgets Block Editor section. ([32242](https://github.com/WordPress/gutenberg/pull/32242))
43
+ - Try: Fix notices below block toolbars. ([32238](https://github.com/WordPress/gutenberg/pull/32238))
44
+ - Allow non-latin characters in slugs. ([32232](https://github.com/WordPress/gutenberg/pull/32232))
45
+ - Fix escape key events in customizer closing the editor. ([32175](https://github.com/WordPress/gutenberg/pull/32175))
46
+ - Update Dropdown’s close-on-blur logic to work inside dialogs. ([32133](https://github.com/WordPress/gutenberg/pull/32133))
47
+ - components: Add missing Divider, Heading type reference in tsconfig. ([32104](https://github.com/WordPress/gutenberg/pull/32104))
48
+ - Fix broken template part converter modal styles. ([32097](https://github.com/WordPress/gutenberg/pull/32097))
49
+ - Fix some smaller styling issues and bugs in Widgets Customizer. ([32072](https://github.com/WordPress/gutenberg/pull/32072))
50
+ - Iframed editor: Fix embed dimensions with missing wp-embed-responsive class. ([32057](https://github.com/WordPress/gutenberg/pull/32057))
51
+ - Fix creating and replacing legacy widgets in customizer. ([32005](https://github.com/WordPress/gutenberg/pull/32005))
52
+ - Block toolbar: Always close options menu after toggling sidebar. ([31921](https://github.com/WordPress/gutenberg/pull/31921))
53
+ - UnitControl: Fixed documentation for `units` attribute. ([31901](https://github.com/WordPress/gutenberg/pull/31901))
54
+ - Display wide widgets as popovers in Customizer. ([31736](https://github.com/WordPress/gutenberg/pull/31736))
55
+ - compose: Add types to useRefEffect and clipboard hooks. ([31603](https://github.com/WordPress/gutenberg/pull/31603))
56
+ - components: Fix Shortcut polymorphism. ([31555](https://github.com/WordPress/gutenberg/pull/31555))
57
+
58
+ ### Performance
59
+
60
+ - Experimental Layout: Pass the same object when no data changes. ([32380](https://github.com/WordPress/gutenberg/pull/32380))
61
+ - Navigation: Avoid rerendering when placeholder does not change. ([32357](https://github.com/WordPress/gutenberg/pull/32357))
62
+ - Buttons: Move options to constants to avoid unneeded renders. ([32356](https://github.com/WordPress/gutenberg/pull/32356))
63
+ - Update Welcome Guides to use external image URLs. ([32026](https://github.com/WordPress/gutenberg/pull/32026))
64
+
65
+ ### Experiments
66
+
67
+ - Page List: Fix css bleed from navigation. ([32384](https://github.com/WordPress/gutenberg/pull/32384))
68
+ - Avoid enqueuing global styles twice when running on WordPress 5.8. ([32372](https://github.com/WordPress/gutenberg/pull/32372))
69
+ - Widgets editor: Fix error when saving empty Legacy Widget block. ([32359](https://github.com/WordPress/gutenberg/pull/32359))
70
+ - Simplify html selector in nav burger menu. ([32303](https://github.com/WordPress/gutenberg/pull/32303))
71
+ - Link to widgets.php instead of themes.php?page=gutenberg-widgets. ([32299](https://github.com/WordPress/gutenberg/pull/32299))
72
+ - Lock the document from scrolling when the modal is open. ([32269](https://github.com/WordPress/gutenberg/pull/32269))
73
+ - Fix the visible widget area toolbar. ([32262](https://github.com/WordPress/gutenberg/pull/32262))
74
+ - Add preferences menu group label to widgets and customize widget editor. ([32259](https://github.com/WordPress/gutenberg/pull/32259))
75
+ - Group typographic block supports under a `typography` key. ([32252](https://github.com/WordPress/gutenberg/pull/32252))
76
+ - Fix incorrect useCustomUnits import. ([32248](https://github.com/WordPress/gutenberg/pull/32248))
77
+ - Alignment styles: Centre blocks using grid not margins. ([32231](https://github.com/WordPress/gutenberg/pull/32231))
78
+ - site-logo block: Use option instead of theme-mod. ([32229](https://github.com/WordPress/gutenberg/pull/32229))
79
+ - Widgets editor: Fix block toolbar position after scroll. ([32212](https://github.com/WordPress/gutenberg/pull/32212))
80
+ - Fix: Logic to enable custom colors, gradients, and font sizes. ([32200](https://github.com/WordPress/gutenberg/pull/32200))
81
+ - FSE: Remove now-obsolete get_template_hierarchy(). ([32116](https://github.com/WordPress/gutenberg/pull/32116))
82
+ - Remove query context leftovers. ([32093](https://github.com/WordPress/gutenberg/pull/32093))
83
+ - Navigation Screen: Hide sidebar when a menu isn't selected. ([32090](https://github.com/WordPress/gutenberg/pull/32090))
84
+ - Navigation: Fix collapsing regression. ([32081](https://github.com/WordPress/gutenberg/pull/32081))
85
+ - Templates: Remove now-obsolete `gutenberg_get_template_paths()`. ([32066](https://github.com/WordPress/gutenberg/pull/32066))
86
+ - Fix toolbar alignment in widget block editor. ([31991](https://github.com/WordPress/gutenberg/pull/31991))
87
+ - Allow block attributes passed to block renderer by way of wp_nav_menu. ([31911](https://github.com/WordPress/gutenberg/pull/31911))
88
+ - Augment and improve Nav Editor (and block) documentation. ([31891](https://github.com/WordPress/gutenberg/pull/31891))
89
+ - Refactor nav block paddings/margins to inherit global styles. ([31878](https://github.com/WordPress/gutenberg/pull/31878))
90
+ - Align block hover and select styles across list view, site editor, select mode. ([31277](https://github.com/WordPress/gutenberg/pull/31277))
91
+ - Add Letter-spacing and enable this for site title and site tagline. ([31118](https://github.com/WordPress/gutenberg/pull/31118))
92
+ - Headings block: Add support for font weight. ([27639](https://github.com/WordPress/gutenberg/pull/27639))
93
+
94
+ ### Documentation
95
+
96
+ - Components: Mark all experimental components in the handbook. ([32147](https://github.com/WordPress/gutenberg/pull/32147))
97
+ - Update the create a block theme tutorial. ([31269](https://github.com/WordPress/gutenberg/pull/31269))
98
+
99
+ ### Code Quality
100
+
101
+ - Remove duplicated ComboboxControl component. ([32397](https://github.com/WordPress/gutenberg/pull/32397))
102
+ - Remove usages of withState from edit-post and editor. ([32349](https://github.com/WordPress/gutenberg/pull/32349))
103
+ - Rich text: Contextual default shortcut removal. ([32327](https://github.com/WordPress/gutenberg/pull/32327))
104
+ - compose: Simplify `compose` fn documentation and point to lodash documentation for it. ([32324](https://github.com/WordPress/gutenberg/pull/32324))
105
+ - Update: Make getBlockSupport support any lodash path.. ([32322](https://github.com/WordPress/gutenberg/pull/32322))
106
+ - Multi select: select all: Restore ref callback. ([32318](https://github.com/WordPress/gutenberg/pull/32318))
107
+ - compose: Type `withGlobalEvents` as any. ([32290](https://github.com/WordPress/gutenberg/pull/32290))
108
+ - compose: Add types to `useWarnOnChange`. ([32288](https://github.com/WordPress/gutenberg/pull/32288))
109
+ - compose: Add types to `useViewportMatch`. ([32287](https://github.com/WordPress/gutenberg/pull/32287))
110
+ - compose: Add types to `useDropZone`. ([32286](https://github.com/WordPress/gutenberg/pull/32286))
111
+ - compose: Add types to `useDragging`. ([32285](https://github.com/WordPress/gutenberg/pull/32285))
112
+ - components: Delete unused types from `context`. ([32254](https://github.com/WordPress/gutenberg/pull/32254))
113
+ - core-data: No-string-literals fix. ([32198](https://github.com/WordPress/gutenberg/pull/32198))
114
+ - edit-navigation: No-string-literals fix. ([32196](https://github.com/WordPress/gutenberg/pull/32196))
115
+ - edit-post: No-string-literals fix. ([32195](https://github.com/WordPress/gutenberg/pull/32195))
116
+ - compose: Add types to `useThrottle` and typecheck `useFocusOutside`. ([32170](https://github.com/WordPress/gutenberg/pull/32170))
117
+ - compose: Add types to `useKeyboardShortcut`. ([32168](https://github.com/WordPress/gutenberg/pull/32168))
118
+ - Navigation Editor: Fix React warning. ([32165](https://github.com/WordPress/gutenberg/pull/32165))
119
+ - edit-site: Fix no-string-literals warnings. ([32156](https://github.com/WordPress/gutenberg/pull/32156))
120
+ - edit-widgets: Fix no-string-literal warnings. ([32155](https://github.com/WordPress/gutenberg/pull/32155))
121
+ - Editor package: No-string-literals fix. ([32153](https://github.com/WordPress/gutenberg/pull/32153))
122
+ - nux: No-string-literals fix. ([32145](https://github.com/WordPress/gutenberg/pull/32145))
123
+ - rich-text: No-string-literals fix. ([32142](https://github.com/WordPress/gutenberg/pull/32142))
124
+ - Reusable-block: No-string-literals fix. ([32141](https://github.com/WordPress/gutenberg/pull/32141))
125
+ - Avoid a PHP Notice when `render_block()` is called without attributes. ([32135](https://github.com/WordPress/gutenberg/pull/32135))
126
+ - compose: Add types to `useResizeObserver` and type checking to `useIsomorphicLayoutEffect`. ([32111](https://github.com/WordPress/gutenberg/pull/32111))
127
+ - components: Add types to Disabled. ([32105](https://github.com/WordPress/gutenberg/pull/32105))
128
+ - Components: Rename `ViewOwnProps` to `PolymorphicComponentProps`. ([32053](https://github.com/WordPress/gutenberg/pull/32053))
129
+ - Popover: Remove unused `content` property from types definitions. ([32049](https://github.com/WordPress/gutenberg/pull/32049))
130
+ - Compose: useMergeRefs: Add test for disabling refs + better documentation. ([32044](https://github.com/WordPress/gutenberg/pull/32044))
131
+ - compose: Add types to `useFocusReturn`. ([31949](https://github.com/WordPress/gutenberg/pull/31949))
132
+ - compose: Add types to `usePrevious`. ([31944](https://github.com/WordPress/gutenberg/pull/31944))
133
+ - compose: Add types to useReducedMotion and useMediaQuery. ([31941](https://github.com/WordPress/gutenberg/pull/31941))
134
+ - compose: Add types to useMergeRefs. ([31939](https://github.com/WordPress/gutenberg/pull/31939))
135
+ - Components: Require explicit `children` prop for all components. ([31817](https://github.com/WordPress/gutenberg/pull/31817))
136
+ - Button: Deprecate `isPrimary`, `isSecondary`, `isTertiary` and `isLink` props in favour of `variant` prop. ([31713](https://github.com/WordPress/gutenberg/pull/31713))
137
+ - Remove: __experimentalUseColors hook. ([31438](https://github.com/WordPress/gutenberg/pull/31438))
138
+ - List View: Simplify the BlockNavigation component. ([31290](https://github.com/WordPress/gutenberg/pull/31290))
139
+
140
+ ### Tools
141
+
142
+ - Remove redundant widget API endpoint tests. ([32298](https://github.com/WordPress/gutenberg/pull/32298))
143
+ - Performance Tests Workflow: Polish Bash script. ([32284](https://github.com/WordPress/gutenberg/pull/32284))
144
+ - Performance Tests Workflow: Use latest WP branch for release tests. ([32277](https://github.com/WordPress/gutenberg/pull/32277))
145
+ - Navigation Editor: Skip "Change detection" tests. ([32151](https://github.com/WordPress/gutenberg/pull/32151))
146
+ - Ignore some eslint rules in react-native folders. ([32143](https://github.com/WordPress/gutenberg/pull/32143))
147
+ - Navigation Editor: Fix failing end-to-end tests. ([32043](https://github.com/WordPress/gutenberg/pull/32043))
148
+ - Move the Query and PostTitle end-to-end tests out of the experimental directory. ([31691](https://github.com/WordPress/gutenberg/pull/31691))
149
+ - Fix Xcode 12.5 support. ([31632](https://github.com/WordPress/gutenberg/pull/31632))
150
+
151
+ ### Various
152
+
153
+ - Update iOS Simulator device command in React Native documentation. ([32383](https://github.com/WordPress/gutenberg/pull/32383))
154
+ - Compose: Deprecate `withState` in favor of `useState`. ([32368](https://github.com/WordPress/gutenberg/pull/32368))
155
+ - Search block : Fix vertical alignment of search button text. ([32340](https://github.com/WordPress/gutenberg/pull/32340))
156
+ - Prefix build with node command for Windows environments. (#32258). ([32329](https://github.com/WordPress/gutenberg/pull/32329))
157
+ - Remove metaboxes from template mode. ([32315](https://github.com/WordPress/gutenberg/pull/32315))
158
+ - Revert "Alignment styles: Centre blocks using grid not margins". ([32312](https://github.com/WordPress/gutenberg/pull/32312))
159
+ - Multi select: Add end-to-end test for gruadual select all. ([32304](https://github.com/WordPress/gutenberg/pull/32304))
160
+ - Avoid unnecessary calculation or animation if tooltip is invisible. ([32289](https://github.com/WordPress/gutenberg/pull/32289))
161
+ - Try: Remove opacity animation on canvas. ([32266](https://github.com/WordPress/gutenberg/pull/32266))
162
+ - components: Add `BaseField`. ([32250](https://github.com/WordPress/gutenberg/pull/32250))
163
+ - Workflows: Performance: Run suite atop latest stable major WordPress version. ([32244](https://github.com/WordPress/gutenberg/pull/32244))
164
+ - Skip tests that are failing with latest WordPress core. ([32228](https://github.com/WordPress/gutenberg/pull/32228))
165
+ - components: Add types to Icon. ([32219](https://github.com/WordPress/gutenberg/pull/32219))
166
+ - components: Remove all `withNext` wrappers. ([32205](https://github.com/WordPress/gutenberg/pull/32205))
167
+ - Only calculate the compressed size on pull requests when necessary. ([32161](https://github.com/WordPress/gutenberg/pull/32161))
168
+ - Limit when workflows run on forks. ([32114](https://github.com/WordPress/gutenberg/pull/32114))
169
+ - Navigation Editor: Move modal state to ManageLocations component. ([32078](https://github.com/WordPress/gutenberg/pull/32078))
170
+ - Block Navigation: Try using CSS for indentation with known max indent instead of spacer divs. ([32063](https://github.com/WordPress/gutenberg/pull/32063))
171
+ - Update the appearance of the template details popover. ([32042](https://github.com/WordPress/gutenberg/pull/32042))
172
+ - Update the title area in the template editor. ([32037](https://github.com/WordPress/gutenberg/pull/32037))
173
+ - compose: Add types to `useDebounce`. ([32015](https://github.com/WordPress/gutenberg/pull/32015))
174
+ - Try fixing inserting cover block intermittent failure. ([32014](https://github.com/WordPress/gutenberg/pull/32014))
175
+ - Rich text: Remove inline display warning. ([32013](https://github.com/WordPress/gutenberg/pull/32013))
176
+ - Add native block inserter onboarding tooltip. ([32001](https://github.com/WordPress/gutenberg/pull/32001))
177
+ - Improve parsing and retrieve additional data in REST url-details endpoint. ([31763](https://github.com/WordPress/gutenberg/pull/31763))
178
+ - Update Modal styling. ([31639](https://github.com/WordPress/gutenberg/pull/31639))
179
+ - components: Promote Elevation. ([31614](https://github.com/WordPress/gutenberg/pull/31614))
180
+ - components: Add ZStack. ([31613](https://github.com/WordPress/gutenberg/pull/31613))
181
+ - Remove title attribute from NavigationItem inside the site-editor. ([30744](https://github.com/WordPress/gutenberg/pull/30744))
182
+ - Show the label for archives block dropdown. ([30527](https://github.com/WordPress/gutenberg/pull/30527))
183
+ - Components: Add ItemGroup and Item. ([30097](https://github.com/WordPress/gutenberg/pull/30097))
184
+ - Mobile - Slash inserter. ([29772](https://github.com/WordPress/gutenberg/pull/29772))
185
+ - Remove class= wrapper to already wrapped attributes. Issue #29209. ([29214](https://github.com/WordPress/gutenberg/pull/29214))
186
+ - List Block: Add font family to the list block. ([27510](https://github.com/WordPress/gutenberg/pull/27510))
187
+
188
+
189
+
190
+
191
+ = 10.7.1 =
192
+
193
+
194
+
195
+ ### Bug Fixes
196
+
197
+ - Latest Posts: Declare 'hasPosts' before 'inspectorControls'. ([32160](https://github.com/WordPress/gutenberg/pull/32160))
198
+ - Fix image/cover transform duotone error. ([32006](https://github.com/WordPress/gutenberg/pull/32006))
199
+
200
+ ### Various
201
+
202
+ - Block Patterns API: Update for core compatibility. ([32240](https://github.com/WordPress/gutenberg/pull/32240))
203
+ - [Patterns]: Prepare GB bundled patterns for core back port. ([32086](https://github.com/WordPress/gutenberg/pull/32086))
204
+
205
+
206
 
207
 
208
  = 10.7.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.6
7
  * Requires PHP: 5.6
8
- * Version: 10.7.1
9
  * Author: Gutenberg Team
10
  * Text Domain: gutenberg
11
  *
@@ -13,8 +13,8 @@
13
  */
14
 
15
  ### BEGIN AUTO-GENERATED DEFINES
16
- define( 'GUTENBERG_VERSION', '10.7.1' );
17
- define( 'GUTENBERG_GIT_COMMIT', 'c2b9275b86eec1158bda9582161641a04314028e' );
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.6
7
  * Requires PHP: 5.6
8
+ * Version: 10.7.2
9
  * Author: Gutenberg Team
10
  * Text Domain: gutenberg
11
  *
13
  */
14
 
15
  ### BEGIN AUTO-GENERATED DEFINES
16
+ define( 'GUTENBERG_VERSION', '10.7.2' );
17
+ define( 'GUTENBERG_GIT_COMMIT', '3239a554478418498cbcd2a16d3a64a98fe6ff60' );
18
  ### END AUTO-GENERATED DEFINES
19
 
20
  gutenberg_pre_init();
lib/global-styles.php CHANGED
@@ -145,11 +145,11 @@ function gutenberg_experimental_global_styles_settings( $settings ) {
145
  unset( $settings['__experimentalFeatures']['color']['gradients'] );
146
  }
147
  if ( isset( $settings['__experimentalFeatures']['color']['custom'] ) ) {
148
- $settings['disableCustomColors'] = $settings['__experimentalFeatures']['color']['custom'];
149
  unset( $settings['__experimentalFeatures']['color']['custom'] );
150
  }
151
  if ( isset( $settings['__experimentalFeatures']['color']['customGradient'] ) ) {
152
- $settings['disableCustomGradients'] = $settings['__experimentalFeatures']['color']['customGradient'];
153
  unset( $settings['__experimentalFeatures']['color']['customGradient'] );
154
  }
155
  if ( isset( $settings['__experimentalFeatures']['typography']['fontSizes'] ) ) {
@@ -157,7 +157,7 @@ function gutenberg_experimental_global_styles_settings( $settings ) {
157
  unset( $settings['__experimentalFeatures']['typography']['fontSizes'] );
158
  }
159
  if ( isset( $settings['__experimentalFeatures']['typography']['customFontSize'] ) ) {
160
- $settings['disableCustomFontSizes'] = $settings['__experimentalFeatures']['typography']['customFontSize'];
161
  unset( $settings['__experimentalFeatures']['typography']['customFontSize'] );
162
  }
163
  if ( isset( $settings['__experimentalFeatures']['typography']['customLineHeight'] ) ) {
145
  unset( $settings['__experimentalFeatures']['color']['gradients'] );
146
  }
147
  if ( isset( $settings['__experimentalFeatures']['color']['custom'] ) ) {
148
+ $settings['disableCustomColors'] = ! $settings['__experimentalFeatures']['color']['custom'];
149
  unset( $settings['__experimentalFeatures']['color']['custom'] );
150
  }
151
  if ( isset( $settings['__experimentalFeatures']['color']['customGradient'] ) ) {
152
+ $settings['disableCustomGradients'] = ! $settings['__experimentalFeatures']['color']['customGradient'];
153
  unset( $settings['__experimentalFeatures']['color']['customGradient'] );
154
  }
155
  if ( isset( $settings['__experimentalFeatures']['typography']['fontSizes'] ) ) {
157
  unset( $settings['__experimentalFeatures']['typography']['fontSizes'] );
158
  }
159
  if ( isset( $settings['__experimentalFeatures']['typography']['customFontSize'] ) ) {
160
+ $settings['disableCustomFontSizes'] = ! $settings['__experimentalFeatures']['typography']['customFontSize'];
161
  unset( $settings['__experimentalFeatures']['typography']['customFontSize'] );
162
  }
163
  if ( isset( $settings['__experimentalFeatures']['typography']['customLineHeight'] ) ) {
readme.txt CHANGED
@@ -1,7 +1,7 @@
1
  === Gutenberg ===
2
  Contributors: matveb, joen, karmatosed
3
  Tested up to: 5.7
4
- Stable tag: 10.7.0
5
  License: GPLv2 or later
6
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
 
@@ -55,4 +55,4 @@ View <a href="https://developer.wordpress.org/block-editor/principles/versions-i
55
 
56
  == Changelog ==
57
 
58
- To read the changelog for Gutenberg 10.7.1, please navigate to the <a href="https://github.com/WordPress/gutenberg/releases/tag/v10.7.1">release page</a>.
1
  === Gutenberg ===
2
  Contributors: matveb, joen, karmatosed
3
  Tested up to: 5.7
4
+ Stable tag: 10.7.1
5
  License: GPLv2 or later
6
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
 
55
 
56
  == Changelog ==
57
 
58
+ To read the changelog for Gutenberg 10.7.2, please navigate to the <a href="https://github.com/WordPress/gutenberg/releases/tag/v10.7.2">release page</a>.