From d074ed1bc1e19b1a63b4ce851251b383db77703b Mon Sep 17 00:00:00 2001 From: Chang Hsing-Yu <56378160+hsingyuc@users.noreply.github.com> Date: Thu, 24 Dec 2020 16:47:56 -0500 Subject: [PATCH 01/11] Improve documentation for withNotices HOC in components package (#27863) --- .../src/higher-order/with-notices/README.md | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/packages/components/src/higher-order/with-notices/README.md b/packages/components/src/higher-order/with-notices/README.md index 1ae0f1edab407..a70d20eca4f75 100644 --- a/packages/components/src/higher-order/with-notices/README.md +++ b/packages/components/src/higher-order/with-notices/README.md @@ -1,5 +1,38 @@ # withNotices +`withNotices` is a React [higher-order component](https://facebook.github.io/react/docs/higher-order-components.html) used typically in adding the ability to post notice messages within the original component. + +Wrapping the original component with `withNotices` encapsulates the component with the additional props `noticeOperations` and `noticeUI`. + +**noticeOperations** +Contains a number of useful functions to add notices to your site. + +# **createNotice** +Function passed down as a prop that adds a new notice. + +_Parameters_ +- _notice_ `object`: Notice to add. + +# **createErrorNotice** +Function passed as a prop that adds a new error notice. + +_Parameters_ +- _msg_ `string`: Error message of the notice. + + +# **removeAllNotices** +Function that removes all notices. + +# **removeNotice** +Function that removes notice by ID. + +_Parameters_ +- _id_ `string`: ID of notice to remove. + +#**noticeUi** +The rendered `NoticeList`. + + ## Usage ```jsx From fc912b5e861e7cffb85b64a4721fdb80dbdfd2d6 Mon Sep 17 00:00:00 2001 From: Stephanie Walters <23455618+PypWalters@users.noreply.github.com> Date: Thu, 24 Dec 2020 16:50:56 -0500 Subject: [PATCH 02/11] Add additional information about lock inheritance (#27834) Co-authored-by: Chris Van Patten --- .../developers/block-api/block-templates.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/designers-developers/developers/block-api/block-templates.md b/docs/designers-developers/developers/block-api/block-templates.md index ad961e8f8066d..42e7a66054583 100644 --- a/docs/designers-developers/developers/block-api/block-templates.md +++ b/docs/designers-developers/developers/block-api/block-templates.md @@ -1,6 +1,6 @@ # Templates -A block template is defined as a list of block items. Such blocks can have predefined attributes, placeholder content, and be static or dynamic. Block templates allow to specify a default initial state for an editor session. +A block template is defined as a list of block items. Such blocks can have predefined attributes, placeholder content, and be static or dynamic. Block templates allow specifying a default initial state for an editor session. The scope of templates include: @@ -110,6 +110,8 @@ add_action( 'init', 'myplugin_register_template' ); - `all` — prevents all operations. It is not possible to insert new blocks, move existing blocks, or delete blocks. - `insert` — prevents inserting or removing blocks, but allows moving existing blocks. +Lock settings can be inherited by InnerBlocks. If `templateLock` is not set in an InnerBlocks area, the locking of the parent InnerBlocks area is used. If the block is a top level block, the locking configuration of the current post type is used. + ## Nested Templates Container blocks like the columns blocks also support templates. This is achieved by assigning a nested template to the block. From 6010eec74b030a199c08d9486ad044ba39198908 Mon Sep 17 00:00:00 2001 From: Jarda Snajdr Date: Thu, 24 Dec 2020 22:51:57 +0100 Subject: [PATCH 03/11] URL: removeQueryArgs should remove the ? char after removing all args (#27812) --- packages/url/src/remove-query-args.js | 3 ++- packages/url/src/test/index.test.js | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/url/src/remove-query-args.js b/packages/url/src/remove-query-args.js index 8d2ac9757ae30..07fd5467808e0 100644 --- a/packages/url/src/remove-query-args.js +++ b/packages/url/src/remove-query-args.js @@ -26,5 +26,6 @@ export function removeQueryArgs( url, ...args ) { const query = getQueryArgs( url ); const baseURL = url.substr( 0, queryStringIndex ); args.forEach( ( arg ) => delete query[ arg ] ); - return baseURL + '?' + buildQueryString( query ); + const queryString = buildQueryString( query ); + return queryString ? baseURL + '?' + queryString : baseURL; } diff --git a/packages/url/src/test/index.test.js b/packages/url/src/test/index.test.js index 132c68b34169e..f4814b0b0bc83 100644 --- a/packages/url/src/test/index.test.js +++ b/packages/url/src/test/index.test.js @@ -758,6 +758,14 @@ describe( 'removeQueryArgs', () => { ); } ); + it( 'should not leave ? char after removing all query args', () => { + const url = 'https://andalouses.example/beach?foo=bar&bar=baz'; + + expect( removeQueryArgs( url, 'foo', 'bar' ) ).toEqual( + 'https://andalouses.example/beach' + ); + } ); + it( 'should remove array query arg', () => { const url = 'https://andalouses.example/beach?foo[]=bar&foo[]=baz&bar=foobar'; From 67cd7069cda865113dae853aaa1b4d43b3fc6ffa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Wrede?= Date: Thu, 24 Dec 2020 22:56:13 +0100 Subject: [PATCH 04/11] Docs: Fix typos in components package (#27799) --- packages/components/src/base-control/README.md | 2 +- packages/components/src/focal-point-picker/README.md | 2 +- packages/components/src/popover/README.md | 2 +- packages/components/src/range-control/README.md | 2 +- packages/components/src/text-highlight/README.md | 10 +++++----- packages/components/src/toolbar-button/README.md | 2 +- packages/components/src/toolbar-item/README.md | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/packages/components/src/base-control/README.md b/packages/components/src/base-control/README.md index 7b20ced34734d..854a2420c9497 100644 --- a/packages/components/src/base-control/README.md +++ b/packages/components/src/base-control/README.md @@ -82,7 +82,7 @@ import { BaseControl } from '@wordpress/components'; const MyBaseControl = () => ( Author diff --git a/packages/components/src/focal-point-picker/README.md b/packages/components/src/focal-point-picker/README.md index 9100e4734f211..7989f7e8ec90c 100644 --- a/packages/components/src/focal-point-picker/README.md +++ b/packages/components/src/focal-point-picker/README.md @@ -65,7 +65,7 @@ Autoplays HTML5 video. This only applies to video sources (`url`). - Type: `Object` - Required: Yes -An object describing the height and width of the image. Requires two paramaters: `height`, `width`. +An object describing the height and width of the image. Requires two parameters: `height`, `width`. ### `value` diff --git a/packages/components/src/popover/README.md b/packages/components/src/popover/README.md index a45dfc701ebcd..f31c90a56ca26 100644 --- a/packages/components/src/popover/README.md +++ b/packages/components/src/popover/README.md @@ -138,7 +138,7 @@ A callback function which is used to override the anchor value computation algor If you need the `DOMRect` object i.e., the position of popover to be calculated on every time, the popover re-renders, then use `getAnchorRect`. -`getAnchorRect` callback function receives a reference to the popover anchor element as a function parameter and it should return a `DOMRect` objcet. +`getAnchorRect` callback function receives a reference to the popover anchor element as a function parameter and it should return a `DOMRect` object. - Type: `Function` - Required: No diff --git a/packages/components/src/range-control/README.md b/packages/components/src/range-control/README.md index f5e3853836982..0ebf28bb67a1e 100644 --- a/packages/components/src/range-control/README.md +++ b/packages/components/src/range-control/README.md @@ -213,7 +213,7 @@ const MyRangeControl() { #### onChange -A function that receives the new value. The value will be less than `max` and more than `min` unless a reset (enabled by `allowReset`) has occured. In which case the value will be either that of `resetFallbackValue` if it has been specified or otherwise `undefined`. +A function that receives the new value. The value will be less than `max` and more than `min` unless a reset (enabled by `allowReset`) has occurred. In which case the value will be either that of `resetFallbackValue` if it has been specified or otherwise `undefined`. - Type: `function` - Required: Yes diff --git a/packages/components/src/text-highlight/README.md b/packages/components/src/text-highlight/README.md index e8a1e4be5d842..91ed7021fd462 100644 --- a/packages/components/src/text-highlight/README.md +++ b/packages/components/src/text-highlight/README.md @@ -1,12 +1,12 @@ # TextHighlight -Highlights occurances of a given string within another string of text. Wraps each match with a [`` tag](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark) which provides browser default styling. +Highlights occurrences of a given string within another string of text. Wraps each match with a [`` tag](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark) which provides browser default styling. ## Usage -Pass in the `text` and the `highlight` string to be matched against. +Pass in the `text` and the `highlight` string to be matched against. -In the example below, the string `Gutenberg` would be highlighted twice. +In the example below, the string `Gutenberg` would be highlighted twice. ```jsx import { TextHighlight } from '@wordpress/components'; @@ -21,11 +21,11 @@ const MyTextHighlight = () => ( ## Props -The component accepts the following props. +The component accepts the following props. ### text -The string of text to be tested for occurances of then given `highlight`. +The string of text to be tested for occurrences of then given `highlight`. - Type: `String` - Required: Yes diff --git a/packages/components/src/toolbar-button/README.md b/packages/components/src/toolbar-button/README.md index 5d7f8f1fb1955..1ddccac0c75fa 100644 --- a/packages/components/src/toolbar-button/README.md +++ b/packages/components/src/toolbar-button/README.md @@ -27,7 +27,7 @@ function MyToolbar() { ### Inside BlockControls -If you're working on a custom block and you want to add controls to the block toolbar, you should use [BlockControls](/docs/designers-developers/developers/tutorials/block-tutorial/block-controls-toolbar-and-sidebar.md) instead. Optinally wrapping it with [ToolbarGroup](/packages/components/src/toolbar-group/README.md). +If you're working on a custom block and you want to add controls to the block toolbar, you should use [BlockControls](/docs/designers-developers/developers/tutorials/block-tutorial/block-controls-toolbar-and-sidebar.md) instead. Optionally wrapping it with [ToolbarGroup](/packages/components/src/toolbar-group/README.md). ```jsx import { BlockControls } from '@wordpress/block-editor'; diff --git a/packages/components/src/toolbar-item/README.md b/packages/components/src/toolbar-item/README.md index db6d38da04168..1df563778a0e1 100644 --- a/packages/components/src/toolbar-item/README.md +++ b/packages/components/src/toolbar-item/README.md @@ -49,7 +49,7 @@ function MyToolbar() { ### Inside BlockControls -If you're working on a custom block and you want to add controls to the block toolbar, you should use [BlockControls](/docs/designers-developers/developers/tutorials/block-tutorial/block-controls-toolbar-and-sidebar.md) instead. Optinally wrapping it with [ToolbarGroup](/packages/components/src/toolbar-group/README.md). +If you're working on a custom block and you want to add controls to the block toolbar, you should use [BlockControls](/docs/designers-developers/developers/tutorials/block-tutorial/block-controls-toolbar-and-sidebar.md) instead. Optionally wrapping it with [ToolbarGroup](/packages/components/src/toolbar-group/README.md). ```jsx import { BlockControls } from '@wordpress/block-editor'; From a903b25e4c5a3947db9761f4f5d86d8e52c849ab Mon Sep 17 00:00:00 2001 From: Andrew Serong <14988353+andrewserong@users.noreply.github.com> Date: Fri, 25 Dec 2020 09:01:56 +1100 Subject: [PATCH 05/11] Fix inserter closing when you switch the pattern category (#27792) Co-authored-by: Andrew Serong --- .../block-editor/src/components/inserter/block-patterns-tab.js | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/block-editor/src/components/inserter/block-patterns-tab.js b/packages/block-editor/src/components/inserter/block-patterns-tab.js index ddd8fc6469395..3f1e438f06c7d 100644 --- a/packages/block-editor/src/components/inserter/block-patterns-tab.js +++ b/packages/block-editor/src/components/inserter/block-patterns-tab.js @@ -103,7 +103,6 @@ function BlockPatternsCategory( { <> { !! currentCategoryPatterns.length && ( Date: Fri, 25 Dec 2020 08:09:29 +1000 Subject: [PATCH 06/11] Fix link control styles to prevent scrollbar (#27777) --- packages/block-editor/src/components/link-control/style.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/block-editor/src/components/link-control/style.scss b/packages/block-editor/src/components/link-control/style.scss index bdbfce8e70241..deb033a2d138d 100644 --- a/packages/block-editor/src/components/link-control/style.scss +++ b/packages/block-editor/src/components/link-control/style.scss @@ -171,6 +171,7 @@ $block-editor-link-control-number-of-actions: 1; display: block; margin-bottom: 0.2em; font-weight: 500; + position: relative; mark { font-weight: 700; From 4b20a4a655df81036fe435d233a9369793524613 Mon Sep 17 00:00:00 2001 From: Q Date: Thu, 24 Dec 2020 17:34:01 -0500 Subject: [PATCH 07/11] Add ContrastChecker component readme (block-editor) (#25570) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Greg Ziółkowski --- .../src/components/contrast-checker/README.md | 73 +++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 packages/block-editor/src/components/contrast-checker/README.md diff --git a/packages/block-editor/src/components/contrast-checker/README.md b/packages/block-editor/src/components/contrast-checker/README.md new file mode 100644 index 0000000000000..b663b63fac514 --- /dev/null +++ b/packages/block-editor/src/components/contrast-checker/README.md @@ -0,0 +1,73 @@ +# ContrastChecker + +ContrastChecker component determines if contrast for text styles is sufficient (WCAG 2.0 AA) when used with a given background color. ContrastCheker also accounts for background color transparency (alpha) as well as font sizes. + +A notice will be rendered if the color combination of text and background colors are low. + +## Table of contents + +1. [Development guidelines](#development-guidelines) + +## Developer guidelines + +### Usage + +Checks the contrast of a `13px` dark gray font against a light gray background. + +```jsx +import { ContrastChecker } from '@wordpress/block-editor'; + +const Example = () => { + return ( + + ); +}; +``` + +### Props + +#### backgroundColor + +The background color to check the contrast of text against. + +- Type: `String` +- Required: No + +#### fallbackBackgroundColor + +A fallback background color value, in case `backgroundColor` is not available. + +- Type: `String` +- Required: No + +#### fallbackTextColor + +A fallback text color value, in case `textColor` is not available. + +- Type: `String` +- Required: No + +#### fontSize + +The font-size (as a `px` value) of the text to check the contrast against. + +- Type: `Number` +- Required: No + +#### isLargeText + +Whether the text is large (approximately `24px` or higher). + +- Type: `Boolean` +- Required: No + +#### textColor + +The text color to check the contrast of the background against. + +- Type: `String` +- Required: No From db0e2d21da110a79c51bd8faffdea0b95c8d87e9 Mon Sep 17 00:00:00 2001 From: Nik Tsekouras Date: Fri, 25 Dec 2020 09:08:23 +0200 Subject: [PATCH 08/11] Remove the animation of post publish button during autosaving (#27874) * remove animation * fix e2e tests --- .../specs/editor/various/change-detection.test.js | 6 ++++-- .../editor/src/components/post-publish-button/index.js | 8 ++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/packages/e2e-tests/specs/editor/various/change-detection.test.js b/packages/e2e-tests/specs/editor/various/change-detection.test.js index 7aa8dfdbbe759..413aeda6adf09 100644 --- a/packages/e2e-tests/specs/editor/various/change-detection.test.js +++ b/packages/e2e-tests/specs/editor/various/change-detection.test.js @@ -138,9 +138,11 @@ describe( 'Change detection', () => { await page.type( '.editor-post-title__input', '!' ); await Promise.all( [ - page.waitForSelector( '.editor-post-publish-button.is-busy' ), page.waitForSelector( - '.editor-post-publish-button:not( .is-busy )' + '.editor-post-publish-button[aria-disabled="true"]' + ), + page.waitForSelector( + '.editor-post-publish-button[aria-disabled="false"]' ), page.evaluate( () => window.wp.data.dispatch( 'core/editor' ).autosave() diff --git a/packages/editor/src/components/post-publish-button/index.js b/packages/editor/src/components/post-publish-button/index.js index 46ebe017edbfd..01d98a5054194 100644 --- a/packages/editor/src/components/post-publish-button/index.js +++ b/packages/editor/src/components/post-publish-button/index.js @@ -94,6 +94,7 @@ export class PostPublishButton extends Component { isPublished, isSaveable, isSaving, + isAutoSaving, isToggle, onSave, onStatusChange, @@ -147,7 +148,7 @@ export class PostPublishButton extends Component { const buttonProps = { 'aria-disabled': isButtonDisabled && ! hasNonPostEntityChanges, className: 'editor-post-publish-button', - isBusy: isSaving && isPublished, + isBusy: ! isAutoSaving && isSaving && isPublished, isPrimary: true, onClick: this.createOnClick( onClickButton ), }; @@ -197,6 +198,7 @@ export default compose( [ withSelect( ( select ) => { const { isSavingPost, + isAutosavingPost, isEditedPostBeingScheduled, getEditedPostVisibility, isCurrentPostPublished, @@ -208,8 +210,10 @@ export default compose( [ getCurrentPostId, hasNonPostEntityChanges, } = select( 'core/editor' ); + const _isAutoSaving = isAutosavingPost(); return { - isSaving: isSavingPost(), + isSaving: isSavingPost() || _isAutoSaving, + isAutoSaving: _isAutoSaving, isBeingScheduled: isEditedPostBeingScheduled(), visibility: getEditedPostVisibility(), isSaveable: isEditedPostSaveable(), From b5551d5c0223490822ede74e582191edb48159aa Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Fri, 25 Dec 2020 12:41:50 +0100 Subject: [PATCH 09/11] Restore removed rootClientId prop (#27892) --- packages/block-editor/src/components/block-list/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/block-editor/src/components/block-list/index.js b/packages/block-editor/src/components/block-list/index.js index 9de0481d9332e..f8f029e04773a 100644 --- a/packages/block-editor/src/components/block-list/index.js +++ b/packages/block-editor/src/components/block-list/index.js @@ -121,6 +121,7 @@ function Items( { value={ ! isBlockInSelection } > Date: Fri, 25 Dec 2020 12:48:53 +0100 Subject: [PATCH 10/11] Revert "Visual editor: remove focusable div wrapper (#27468)" (#27894) This reverts commit 6c9efd4d39f9a0e334324371fbe1bf460c8daa4c. --- .../components/block-selection-clearer/index.js | 13 ++++--------- .../various/keyboard-navigable-blocks.test.js | 16 ++++++---------- .../src/components/visual-editor/index.js | 1 + .../src/components/block-editor/index.js | 13 +++---------- .../edit-site/src/components/editor/index.js | 5 +++-- 5 files changed, 17 insertions(+), 31 deletions(-) diff --git a/packages/block-editor/src/components/block-selection-clearer/index.js b/packages/block-editor/src/components/block-selection-clearer/index.js index 3806dae48d29d..8501d3179eacd 100644 --- a/packages/block-editor/src/components/block-selection-clearer/index.js +++ b/packages/block-editor/src/components/block-selection-clearer/index.js @@ -19,19 +19,14 @@ export function useBlockSelectionClearer( ref ) { return; } - function onMouseDown( event ) { - // Only handle clicks on the canvas, not the content. - if ( event.target.closest( '.wp-block' ) ) { - return; - } - + function onFocus() { clearSelectedBlock(); } - ref.current.addEventListener( 'mousedown', onMouseDown ); + ref.current.addEventListener( 'focus', onFocus ); return () => { - ref.current.removeEventListener( 'mousedown', onMouseDown ); + ref.current.removeEventListener( 'focus', onFocus ); }; }, [ hasSelection, clearSelectedBlock ] ); } @@ -39,5 +34,5 @@ export function useBlockSelectionClearer( ref ) { export default function BlockSelectionClearer( props ) { const ref = useRef(); useBlockSelectionClearer( ref ); - return
; + return
; } diff --git a/packages/e2e-tests/specs/editor/various/keyboard-navigable-blocks.test.js b/packages/e2e-tests/specs/editor/various/keyboard-navigable-blocks.test.js index 2b092c9b46690..730af28bdb10a 100644 --- a/packages/e2e-tests/specs/editor/various/keyboard-navigable-blocks.test.js +++ b/packages/e2e-tests/specs/editor/various/keyboard-navigable-blocks.test.js @@ -108,10 +108,10 @@ describe( 'Order of block keyboard navigation', () => { await page.keyboard.type( paragraphBlock ); } - // Clear the selected block. - const paragraph = await page.$( '[data-type="core/paragraph"]' ); - const box = await paragraph.boundingBox(); - await page.mouse.click( box.x - 1, box.y ); + // Clear the selected block and put focus in front of the block list. + await page.evaluate( () => { + document.querySelector( '.editor-styles-wrapper' ).focus(); + } ); await page.keyboard.press( 'Tab' ); await expect( @@ -143,13 +143,9 @@ describe( 'Order of block keyboard navigation', () => { await page.keyboard.type( paragraphBlock ); } - // Clear the selected block. - const paragraph = await page.$( '[data-type="core/paragraph"]' ); - const box = await paragraph.boundingBox(); - await page.mouse.click( box.x - 1, box.y ); - - // Put focus behind the block list. + // Clear the selected block and put focus behind the block list. await page.evaluate( () => { + document.querySelector( '.editor-styles-wrapper' ).focus(); document .querySelector( '.interface-interface-skeleton__sidebar' ) .focus(); diff --git a/packages/edit-post/src/components/visual-editor/index.js b/packages/edit-post/src/components/visual-editor/index.js index b642d6666ac70..4829c5d483de1 100644 --- a/packages/edit-post/src/components/visual-editor/index.js +++ b/packages/edit-post/src/components/visual-editor/index.js @@ -65,6 +65,7 @@ export default function VisualEditor() {
diff --git a/packages/edit-site/src/components/block-editor/index.js b/packages/edit-site/src/components/block-editor/index.js index aff93bd440ca0..dccde836ecabf 100644 --- a/packages/edit-site/src/components/block-editor/index.js +++ b/packages/edit-site/src/components/block-editor/index.js @@ -2,7 +2,7 @@ * WordPress dependencies */ import { useSelect, useDispatch } from '@wordpress/data'; -import { useCallback, useRef } from '@wordpress/element'; +import { useCallback } from '@wordpress/element'; import { useEntityBlockEditor } from '@wordpress/core-data'; import { BlockEditorProvider, @@ -12,7 +12,6 @@ import { WritingFlow, ObserveTyping, BlockList, - __unstableUseBlockSelectionClearer as useBlockSelectionClearer, } from '@wordpress/block-editor'; /** @@ -40,11 +39,8 @@ export default function BlockEditor( { setIsInserterOpen } ) { 'postType', templateType ); - const { setPage } = useDispatch( 'core/edit-site' ); - const ref = useRef(); - - useBlockSelectionClearer( ref ); + const { setPage } = useDispatch( 'core/edit-site' ); return ( -
+
diff --git a/packages/edit-site/src/components/editor/index.js b/packages/edit-site/src/components/editor/index.js index 2ffe544739c75..964390eee4de5 100644 --- a/packages/edit-site/src/components/editor/index.js +++ b/packages/edit-site/src/components/editor/index.js @@ -18,6 +18,7 @@ import { import { EntityProvider } from '@wordpress/core-data'; import { BlockContextProvider, + BlockSelectionClearer, BlockBreadcrumb, __unstableUseEditorStyles as useEditorStyles, __experimentalUseResizeCanvas as useResizeCanvas, @@ -251,7 +252,7 @@ function Editor() { /> } content={ -
@@ -265,7 +266,7 @@ function Editor() { /> ) } -
+ } actions={ <> From f950703090bc560b7133cbd79f3d99952ff12d7f Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Fri, 25 Dec 2020 13:21:16 +0100 Subject: [PATCH 11/11] Bump plugin version to 9.6.2 --- changelog.txt | 8 ++++++++ gutenberg.php | 2 +- package-lock.json | 2 +- package.json | 2 +- readme.txt | 2 +- 5 files changed, 12 insertions(+), 4 deletions(-) diff --git a/changelog.txt b/changelog.txt index a39ec97ddda9a..7b978290d9c44 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,13 @@ == Changelog == += 9.6.2 = + +### Bug Fixes + + - Fix toolbar controls in the widgets screen. + - Fix the slash inserter in the widgets screen. + + = 9.6.1 = ### Bugfixes diff --git a/gutenberg.php b/gutenberg.php index d42cdebe534e3..1b920ae4e71f0 100644 --- a/gutenberg.php +++ b/gutenberg.php @@ -5,7 +5,7 @@ * Description: Printing since 1440. This is the development plugin for the new block editor in core. * Requires at least: 5.3 * Requires PHP: 5.6 - * Version: 9.6.1 + * Version: 9.6.2 * Author: Gutenberg Team * Text Domain: gutenberg * diff --git a/package-lock.json b/package-lock.json index 677c547bbf30f..ead96e16a89ed 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "gutenberg", - "version": "9.6.1", + "version": "9.6.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index bee26b829b584..bb427cfc8ffd2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gutenberg", - "version": "9.6.1", + "version": "9.6.2", "private": true, "description": "A new WordPress editor experience.", "author": "The WordPress Contributors", diff --git a/readme.txt b/readme.txt index 9b45224bac435..2de8eb8c71c1e 100644 --- a/readme.txt +++ b/readme.txt @@ -57,4 +57,4 @@ View release page. +To read the changelog for Gutenberg 9.6.2, please navigate to the release page.