Skip to content

Commit 886735e

Browse files
committed
Restore: Sync Gutenberg @ b79bbe25a1b00ce640bfab363f182c678181082f
See changelog in 22294af > Build: Update Gutenberg integration to checkout-and-build approach. > This changes WordPress Core's Gutenberg integration from npm packages to checking out and building Gutenberg directly. Instead of syncing individual npm packages, Core now checks out the Gutenberg repository, builds it, and copies the build artifacts. > > This enables Core to use Gutenberg's advanced features like route-based navigation, full-page rendering, and the Font Library, while also streamlining future updates. git-svn-id: https://develop.svn.wordpress.org/branches/fixes-64393-restore-version-history@62118 602fd350-edb4-49c9-b593-d223f7449a82
1 parent db08c1a commit 886735e

131 files changed

Lines changed: 110472 additions & 60 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/wp-includes/assets/script-loader-packages.min.php

Lines changed: 831 additions & 1 deletion
Large diffs are not rendered by default.
Lines changed: 282 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,282 @@
1-
<?php return array('interactivity/index.min.js' => array('dependencies' => array(), 'version' => '90f16bd7fc9472806570', 'type' => 'module'), 'interactivity/debug.min.js' => array('dependencies' => array(), 'version' => 'dea7da43ce140b662d0f', 'type' => 'module'), 'interactivity-router/index.min.js' => array('dependencies' => array('@wordpress/interactivity', array('id' => '@wordpress/a11y', 'import' => 'dynamic')), 'version' => '765a6ee8162122b48e6c', 'type' => 'module'), 'a11y/index.min.js' => array('dependencies' => array(), 'version' => 'b7d06936b8bc23cff2ad', 'type' => 'module'), 'block-library/accordion/view.min.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => '3a414634555a20667d6c', 'type' => 'module'), 'block-library/file/view.min.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => 'f9665632b48682075277', 'type' => 'module'), 'block-library/form/view.min.js' => array('dependencies' => array(), 'version' => 'baaf25398238b4f2a821', 'type' => 'module'), 'block-library/image/view.min.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => '292ec2cc397d10d98f6a', 'type' => 'module'), 'block-library/navigation/view.min.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => 'b0f909c3ec791c383210', 'type' => 'module'), 'block-library/query/view.min.js' => array('dependencies' => array('@wordpress/interactivity', array('id' => '@wordpress/interactivity-router', 'import' => 'dynamic')), 'version' => 'f55e93a1ad4806e91785', 'type' => 'module'), 'block-library/search/view.min.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => '94fc611a7464b5de290a', 'type' => 'module'), 'block-editor/utils/fit-text-frontend.min.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => 'd6b553b57c3908edc8f8', 'type' => 'module'));
1+
<?php return array(
2+
'a11y/index.min.js' => array(
3+
'dependencies' => array(
4+
5+
),
6+
'version' => '1c371cb517a97cdbcb9f'
7+
),
8+
'abilities/index.min.js' => array(
9+
'dependencies' => array(
10+
'wp-data',
11+
'wp-i18n'
12+
),
13+
'version' => 'bd07cd6be9d3678c2a45'
14+
),
15+
'block-editor/utils/fit-text-frontend.min.js' => array(
16+
'dependencies' => array(
17+
18+
),
19+
'module_dependencies' => array(
20+
array(
21+
'id' => '@wordpress/interactivity',
22+
'import' => 'static'
23+
)
24+
),
25+
'version' => '2f00eb94b5ef309f39eb'
26+
),
27+
'block-library/accordion/view.min.js' => array(
28+
'dependencies' => array(
29+
30+
),
31+
'module_dependencies' => array(
32+
array(
33+
'id' => '@wordpress/interactivity',
34+
'import' => 'static'
35+
)
36+
),
37+
'version' => '2af01b43d30739c3fb8d'
38+
),
39+
'block-library/file/view.min.js' => array(
40+
'dependencies' => array(
41+
42+
),
43+
'module_dependencies' => array(
44+
array(
45+
'id' => '@wordpress/interactivity',
46+
'import' => 'static'
47+
)
48+
),
49+
'version' => '7d4d261d10dca47ebecb'
50+
),
51+
'block-library/form/view.min.js' => array(
52+
'dependencies' => array(
53+
54+
),
55+
'version' => '5542f8ad251fe43ef09e'
56+
),
57+
'block-library/image/view.min.js' => array(
58+
'dependencies' => array(
59+
60+
),
61+
'module_dependencies' => array(
62+
array(
63+
'id' => '@wordpress/interactivity',
64+
'import' => 'static'
65+
)
66+
),
67+
'version' => '3aa348554e724dae4f1f'
68+
),
69+
'block-library/navigation/view.min.js' => array(
70+
'dependencies' => array(
71+
72+
),
73+
'module_dependencies' => array(
74+
array(
75+
'id' => '@wordpress/interactivity',
76+
'import' => 'static'
77+
)
78+
),
79+
'version' => '7437ed5c45ee57daf02c'
80+
),
81+
'block-library/query/view.min.js' => array(
82+
'dependencies' => array(
83+
84+
),
85+
'module_dependencies' => array(
86+
array(
87+
'id' => '@wordpress/interactivity',
88+
'import' => 'static'
89+
),
90+
array(
91+
'id' => '@wordpress/interactivity-router',
92+
'import' => 'dynamic'
93+
)
94+
),
95+
'version' => '7a4ec5bfb61a7137cf4b'
96+
),
97+
'block-library/search/view.min.js' => array(
98+
'dependencies' => array(
99+
100+
),
101+
'module_dependencies' => array(
102+
array(
103+
'id' => '@wordpress/interactivity',
104+
'import' => 'static'
105+
)
106+
),
107+
'version' => '38bd0e230eaffa354d2a'
108+
),
109+
'block-library/tabs/view.min.js' => array(
110+
'dependencies' => array(
111+
112+
),
113+
'module_dependencies' => array(
114+
array(
115+
'id' => '@wordpress/interactivity',
116+
'import' => 'static'
117+
)
118+
),
119+
'version' => 'c08655def5ed243c4d65'
120+
),
121+
'boot/index.min.js' => array(
122+
'dependencies' => array(
123+
'react-jsx-runtime',
124+
'wp-commands',
125+
'wp-components',
126+
'wp-compose',
127+
'wp-core-data',
128+
'wp-data',
129+
'wp-editor',
130+
'wp-element',
131+
'wp-html-entities',
132+
'wp-i18n',
133+
'wp-keyboard-shortcuts',
134+
'wp-keycodes',
135+
'wp-primitives',
136+
'wp-private-apis',
137+
'wp-theme',
138+
'wp-url'
139+
),
140+
'module_dependencies' => array(
141+
array(
142+
'id' => '@wordpress/a11y',
143+
'import' => 'static'
144+
),
145+
array(
146+
'id' => '@wordpress/lazy-editor',
147+
'import' => 'dynamic'
148+
),
149+
array(
150+
'id' => '@wordpress/route',
151+
'import' => 'static'
152+
)
153+
),
154+
'version' => '9f051020d6920e221d19'
155+
),
156+
'core-abilities/index.min.js' => array(
157+
'dependencies' => array(
158+
'wp-api-fetch',
159+
'wp-url'
160+
),
161+
'module_dependencies' => array(
162+
array(
163+
'id' => '@wordpress/abilities',
164+
'import' => 'static'
165+
)
166+
),
167+
'version' => '336043fa59033fb5e9b0'
168+
),
169+
'edit-site-init/index.min.js' => array(
170+
'dependencies' => array(
171+
'react-jsx-runtime',
172+
'wp-data',
173+
'wp-element',
174+
'wp-primitives'
175+
),
176+
'module_dependencies' => array(
177+
array(
178+
'id' => '@wordpress/boot',
179+
'import' => 'static'
180+
)
181+
),
182+
'version' => '86ba14602c8af2333ca2'
183+
),
184+
'interactivity/index.min.js' => array(
185+
'dependencies' => array(
186+
187+
),
188+
'version' => '771756b5dd00167d1664'
189+
),
190+
'interactivity-router/full-page.min.js' => array(
191+
'dependencies' => array(
192+
193+
),
194+
'module_dependencies' => array(
195+
array(
196+
'id' => '@wordpress/interactivity-router',
197+
'import' => 'dynamic'
198+
)
199+
),
200+
'version' => '5c07cd7a12ae073c5241'
201+
),
202+
'interactivity-router/index.min.js' => array(
203+
'dependencies' => array(
204+
205+
),
206+
'module_dependencies' => array(
207+
array(
208+
'id' => '@wordpress/a11y',
209+
'import' => 'dynamic'
210+
),
211+
array(
212+
'id' => '@wordpress/interactivity',
213+
'import' => 'static'
214+
)
215+
),
216+
'version' => 'bb48ce8e3364d5290463'
217+
),
218+
'latex-to-mathml/index.min.js' => array(
219+
'dependencies' => array(
220+
221+
),
222+
'version' => 'e5fd3ae6d2c3b6e669da'
223+
),
224+
'latex-to-mathml/loader.min.js' => array(
225+
'dependencies' => array(
226+
227+
),
228+
'module_dependencies' => array(
229+
array(
230+
'id' => '@wordpress/latex-to-mathml',
231+
'import' => 'dynamic'
232+
)
233+
),
234+
'version' => '4f37456af539bd3d2351'
235+
),
236+
'lazy-editor/index.min.js' => array(
237+
'dependencies' => array(
238+
'react-jsx-runtime',
239+
'wp-block-editor',
240+
'wp-blocks',
241+
'wp-components',
242+
'wp-core-data',
243+
'wp-data',
244+
'wp-editor',
245+
'wp-element',
246+
'wp-i18n',
247+
'wp-private-apis',
248+
'wp-style-engine'
249+
),
250+
'version' => 'fcf90385d27a3a94e0a6'
251+
),
252+
'route/index.min.js' => array(
253+
'dependencies' => array(
254+
'react',
255+
'react-dom',
256+
'react-jsx-runtime',
257+
'wp-private-apis'
258+
),
259+
'version' => '333002943024efaa0bcc'
260+
),
261+
'workflow/index.min.js' => array(
262+
'dependencies' => array(
263+
'react',
264+
'react-dom',
265+
'react-jsx-runtime',
266+
'wp-components',
267+
'wp-data',
268+
'wp-element',
269+
'wp-i18n',
270+
'wp-keyboard-shortcuts',
271+
'wp-primitives',
272+
'wp-private-apis'
273+
),
274+
'module_dependencies' => array(
275+
array(
276+
'id' => '@wordpress/abilities',
277+
'import' => 'static'
278+
)
279+
),
280+
'version' => '222192b99efc1eb0b5b2'
281+
)
282+
);

src/wp-includes/blocks/accordion-heading/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
}
5858
},
5959
"shadow": true,
60-
"blockVisibility": false,
60+
"visibility": false,
6161
"lock": false
6262
},
6363
"selectors": {

src/wp-includes/blocks/accordion-item.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ function block_core_accordion_item_render( $attributes, $content ) {
3636
$p->set_attribute( 'data-wp-context', '{ "id": "' . $unique_id . '", "openByDefault": ' . $open_by_default . ' }' );
3737
$p->set_attribute( 'data-wp-class--is-open', 'state.isOpen' );
3838
$p->set_attribute( 'data-wp-init', 'callbacks.initAccordionItems' );
39+
$p->set_attribute( 'data-wp-on-window--hashchange', 'callbacks.hashChange' );
3940

4041
if ( $p->next_tag( array( 'class_name' => 'wp-block-accordion-heading__toggle' ) ) ) {
4142
$p->set_attribute( 'data-wp-on--click', 'actions.toggle' );

src/wp-includes/blocks/accordion-item/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"shadow": true,
3434
"layout": {
3535
"allowEditing": false
36-
},
36+
},
3737
"typography": {
3838
"fontSize": true,
3939
"lineHeight": true,

src/wp-includes/blocks/accordion-panel/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"layout": {
5151
"allowEditing": false
5252
},
53-
"blockVisibility": false,
53+
"visibility": false,
5454
"contentRole": true,
5555
"allowedBlocks": true,
5656
"lock": false

0 commit comments

Comments
 (0)