Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WordPress 5.8.1 backports #34393

Merged
merged 22 commits into from Sep 1, 2021
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
25a8e82
Fix API docs generation (#33384)
nosolosw Jul 13, 2021
728dcd7
Docs: use markdown headings instead of links for API declarations (#3…
juanmaguitar Jul 14, 2021
6537d4e
Docs: Run Prettier after updating API in documentation (#33498)
gziolo Jul 19, 2021
98779bf
Use tabs instead of spaces in block transform doc example (#33549)
jblz Jul 20, 2021
c985f56
Fix metabox reordering (#30617).
ribaricplusplus Aug 30, 2021
404619f
Block editor: don't render layout and duotone styles in between block…
ellatrix Jul 13, 2021
bdaa7b6
Widgets: Allow HTML tags in description (#33814)
walbo Aug 9, 2021
336aa2a
Editor: Set 'hide_empty' for the most used terms query (#33457)
Mamaduka Jul 16, 2021
d9c56de
Update widget editor help links to point to the new support article (…
talldan Jul 16, 2021
455de81
If select-all fires in .editor-post-title__input, end the process.. (…
torounit Jul 22, 2021
891de6a
Writing flow: select all: remove early return for post title (#33699)
ellatrix Jul 26, 2021
5180b56
Call onChangeSectionExpanded conditionally (#33618)
kevin940726 Jul 22, 2021
a122eb8
FontSizePicker: Use number values when the initial value is a number …
Mamaduka Jul 30, 2021
20eb111
Fix justification for button block when selected (#33739)
mkaz Aug 2, 2021
b4c5c94
Add error boundaries to widget screens (#33771)
talldan Aug 2, 2021
466c9e3
Fix insertion point in Widgets editors (#33802)
kevin940726 Aug 2, 2021
40fa01a
Default batch processor: Respect the batch endpoint's maxItems (#34280)
noisysocks Aug 25, 2021
d888f1c
Fix button block focus trap after a URL has been added (#34314)
talldan Aug 27, 2021
c388f23
Text for dropdown fields within legacy widgets in the Customizer is o…
anton-vlasenko Aug 19, 2021
95dc1fd
Fix ESLint errors reported
gziolo Sep 1, 2021
4cf5f60
Regenerate autogenerated docs
gziolo Sep 1, 2021
90ac898
Update the `INSERTER_SEARCH_SELECTOR` path.
desrosj Sep 1, 2021
File filter
Filter file types
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.

Always

Just for now

@@ -38,10 +38,7 @@ const PACKAGES_DIR = resolve( ROOT_DIR, 'packages' );
*
* @type {string}
*/
const DATA_DOCS_DIR = resolve(
ROOT_DIR,
'docs/designers-developers/developers/data'
);
const DATA_DOCS_DIR = resolve( ROOT_DIR, 'docs/reference-guides/data' );

/**
* Pattern matching start token of a README file.
@@ -235,6 +232,9 @@ glob.stream( [
{ shell: true }
);
}
await execa( 'npm', [ 'run', 'format', output ], {
shell: true,
} );
} catch ( error ) {
console.error( error );
process.exit( 1 );
@@ -89,24 +89,24 @@ This is done by adding JavaScript code to your block's definition. In this examp

```js
transforms: {
from: [
{
type: 'block',
blocks: [ 'core/legacy-widget' ],
from: [
{
type: 'block',
blocks: [ 'core/legacy-widget' ],
isMatch: ( { idBase, instance } ) => {
if ( ! instance?.raw ) {
// Can't transform if raw instance is not shown in REST API.
return false;
}
return idBase === 'example_widget';
},
transform: ( { instance } ) => {
return createBlock( 'example/block', {
transform: ( { instance } ) => {
return createBlock( 'example/block', {
name: instance.raw.name,
} );
},
},
]
} );
},
},
]
},
```
@@ -4,16 +4,16 @@ Namespace: `core/annotations`.

## Selectors

<!-- START TOKEN(Autogenerated selectors|../../../../packages/annotations/src/store/selectors.js) -->
<!-- START TOKEN(Autogenerated selectors|../../../packages/annotations/src/store/selectors.js) -->

Nothing to document.

<!-- END TOKEN(Autogenerated selectors|../../../../packages/annotations/src/store/selectors.js) -->
<!-- END TOKEN(Autogenerated selectors|../../../packages/annotations/src/store/selectors.js) -->

## Actions

<!-- START TOKEN(Autogenerated actions|../../../../packages/annotations/src/store/actions.js) -->
<!-- START TOKEN(Autogenerated actions|../../../packages/annotations/src/store/actions.js) -->

Nothing to document.

<!-- END TOKEN(Autogenerated actions|../../../../packages/annotations/src/store/actions.js) -->
<!-- END TOKEN(Autogenerated actions|../../../packages/annotations/src/store/actions.js) -->