Skip to content

Commit 46df533

Browse files
desrosjdmsnell
authored andcommitted
Restore: Sync Gutenberg @ 9b8144036fa5faf75de43d4502ff9809fcf689ad
See changelog in 49d8c11 > Build/Test Tools: Remove the requirement to clone/build Gutenberg. > This iterates on the changes from [61438] by removing the need to: > - Check out the WordPress/gutenberg repository at the pinned hash. > - Run `npm install` within that checkout.
1 parent d020527 commit 46df533

File tree

6 files changed

+8
-134
lines changed

6 files changed

+8
-134
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
'import' => 'dynamic'
143143
)
144144
),
145-
'version' => '7c541503acf57eac5326'
145+
'version' => 'c2d339cfc3f518d7ae7d'
146146
),
147147
'block-serialization-default-parser.min.js' => array(
148148
'dependencies' => array(
@@ -291,7 +291,7 @@
291291
'wp-private-apis',
292292
'wp-widgets'
293293
),
294-
'version' => '524dc7a4326b77064831'
294+
'version' => 'e80611931675bf2bbbc8'
295295
),
296296
'data.min.js' => array(
297297
'dependencies' => array(
@@ -377,7 +377,7 @@
377377
'import' => 'static'
378378
)
379379
),
380-
'version' => '553c68d537faab610eea'
380+
'version' => '8a4bb8684179cd65c841'
381381
),
382382
'edit-site.min.js' => array(
383383
'dependencies' => array(
@@ -424,7 +424,7 @@
424424
'import' => 'static'
425425
)
426426
),
427-
'version' => '9f119c2d05657de42da1'
427+
'version' => 'f1371886f952c7d1e117'
428428
),
429429
'edit-widgets.min.js' => array(
430430
'dependencies' => array(
@@ -461,7 +461,7 @@
461461
'import' => 'static'
462462
)
463463
),
464-
'version' => 'be944f745795910dc41a'
464+
'version' => '806130674ab07f4de152'
465465
),
466466
'editor.min.js' => array(
467467
'dependencies' => array(
@@ -511,7 +511,7 @@
511511
'import' => 'static'
512512
)
513513
),
514-
'version' => 'e157f65c34ea74a71709'
514+
'version' => 'f01d293e2d88336274ff'
515515
),
516516
'element.min.js' => array(
517517
'dependencies' => array(

src/wp-includes/blocks/require-dynamic-blocks.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
// This file was autogenerated by tools/gutenberg/copy-gutenberg-build.js, do not change manually!
3+
// This file was autogenerated by tools/gutenberg/copy.js, do not change manually!
44
// Requires files for dynamic blocks necessary for core blocks registration.
55
require_once ABSPATH . WPINC . '/blocks/accordion.php';
66
require_once ABSPATH . WPINC . '/blocks/accordion-item.php';

src/wp-includes/blocks/require-static-blocks.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
// This file was autogenerated by tools/gutenberg/copy-gutenberg-build.js, do not change manually!
3+
// This file was autogenerated by tools/gutenberg/copy.js, do not change manually!
44
// Returns folder names for static blocks necessary for core blocks registration.
55
return array(
66
'accordion-heading',

src/wp-includes/build/pages.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
* @package wp
77
*/
88

9-
require_once __DIR__ . '/pages/site-editor-v2/page.php';
10-
require_once __DIR__ . '/pages/site-editor-v2/page-wp-admin.php';
119
require_once __DIR__ . '/pages/font-library/page.php';
1210
require_once __DIR__ . '/pages/font-library/page-wp-admin.php';
1311
require_once __DIR__ . '/pages/options-connectors/page.php';

src/wp-includes/build/routes.php

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -130,22 +130,3 @@ function wp_register_font_library_wp_admin_page_routes() {
130130
}
131131
add_action( 'font-library-wp-admin_init', 'wp_register_font_library_wp_admin_page_routes' );
132132

133-
// Page-specific route registration functions for site-editor-v2
134-
/**
135-
* Register routes for site-editor-v2 page (full-page mode).
136-
*/
137-
function wp_register_site_editor_v2_page_routes() {
138-
global $wp_site_editor_v2_routes_data;
139-
wp_register_page_routes( $wp_site_editor_v2_routes_data, 'wp_register_site_editor_v2_route' );
140-
}
141-
add_action( 'site-editor-v2_init', 'wp_register_site_editor_v2_page_routes' );
142-
143-
/**
144-
* Register routes for site-editor-v2 page (wp-admin mode).
145-
*/
146-
function wp_register_site_editor_v2_wp_admin_page_routes() {
147-
global $wp_site_editor_v2_routes_data;
148-
wp_register_page_routes( $wp_site_editor_v2_routes_data, 'wp_register_site_editor_v2_wp_admin_route' );
149-
}
150-
add_action( 'site-editor-v2-wp-admin_init', 'wp_register_site_editor_v2_wp_admin_page_routes' );
151-

src/wp-includes/build/routes/registry.php

Lines changed: 0 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -27,110 +27,5 @@
2727
'page' => 'font-library',
2828
'has_route' => true,
2929
'has_content' => false,
30-
),
31-
array(
32-
'name' => 'home',
33-
'path' => '/',
34-
'page' => 'site-editor-v2',
35-
'has_route' => true,
36-
'has_content' => false,
37-
),
38-
array(
39-
'name' => 'navigation',
40-
'path' => '/navigation',
41-
'page' => 'site-editor-v2',
42-
'has_route' => true,
43-
'has_content' => false,
44-
),
45-
array(
46-
'name' => 'navigation-edit',
47-
'path' => '/navigation/edit/$id',
48-
'page' => 'site-editor-v2',
49-
'has_route' => true,
50-
'has_content' => true,
51-
),
52-
array(
53-
'name' => 'navigation-list',
54-
'path' => '/navigation/list',
55-
'page' => 'site-editor-v2',
56-
'has_route' => true,
57-
'has_content' => true,
58-
),
59-
array(
60-
'name' => 'pattern',
61-
'path' => '/patterns',
62-
'page' => 'site-editor-v2',
63-
'has_route' => true,
64-
'has_content' => false,
65-
),
66-
array(
67-
'name' => 'pattern-list',
68-
'path' => '/patterns/list/$type',
69-
'page' => 'site-editor-v2',
70-
'has_route' => true,
71-
'has_content' => true,
72-
),
73-
array(
74-
'name' => 'post',
75-
'path' => '/types/$type',
76-
'page' => 'site-editor-v2',
77-
'has_route' => true,
78-
'has_content' => false,
79-
),
80-
array(
81-
'name' => 'post-edit',
82-
'path' => '/types/$type/edit/$id',
83-
'page' => 'site-editor-v2',
84-
'has_route' => true,
85-
'has_content' => false,
86-
),
87-
array(
88-
'name' => 'post-list',
89-
'path' => '/types/$type/list/$slug',
90-
'page' => 'site-editor-v2',
91-
'has_route' => true,
92-
'has_content' => true,
93-
),
94-
array(
95-
'name' => 'post-new',
96-
'path' => '/types/$type/new',
97-
'page' => 'site-editor-v2',
98-
'has_route' => true,
99-
'has_content' => false,
100-
),
101-
array(
102-
'name' => 'styles',
103-
'path' => '/styles',
104-
'page' => 'site-editor-v2',
105-
'has_route' => true,
106-
'has_content' => true,
107-
),
108-
array(
109-
'name' => 'template',
110-
'path' => '/templates',
111-
'page' => 'site-editor-v2',
112-
'has_route' => true,
113-
'has_content' => false,
114-
),
115-
array(
116-
'name' => 'template-list',
117-
'path' => '/templates/list/$activeView',
118-
'page' => 'site-editor-v2',
119-
'has_route' => true,
120-
'has_content' => true,
121-
),
122-
array(
123-
'name' => 'template-part',
124-
'path' => '/template-parts',
125-
'page' => 'site-editor-v2',
126-
'has_route' => true,
127-
'has_content' => false,
128-
),
129-
array(
130-
'name' => 'template-part-list',
131-
'path' => '/template-parts/list/$area',
132-
'page' => 'site-editor-v2',
133-
'has_route' => true,
134-
'has_content' => true,
13530
)
13631
);

0 commit comments

Comments
 (0)