Skip to content

Commit d1ca44e

Browse files
committed
Update build tool
1 parent 63baf8a commit d1ca44e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "https://develop.svn.wordpress.org/trunk"
88
},
99
"gutenberg": {
10-
"ref": "892bfad51d2261f44f3a21f934b1c72bd29a2449"
10+
"ref": "7bf80ea84eb8b62eceb1bb3fe82e42163673ca79"
1111
},
1212
"engines": {
1313
"node": ">=20.10.0",

src/wp-admin/font-library.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
}
2020

2121
// Check if Gutenberg build files are available
22-
if ( ! function_exists( 'font_library_wp_admin_render_page' ) ) {
22+
if ( ! function_exists( 'wp_font_library_wp_admin_render_page' ) ) {
2323
wp_die(
2424
'<h1>' . __( 'Font Library is not available.' ) . '</h1>' .
2525
'<p>' . __( 'The Font Library requires Gutenberg build files. Please run <code>npm install</code> to build the necessary files.' ) . '</p>',
@@ -33,6 +33,6 @@
3333
require_once ABSPATH . 'wp-admin/admin-header.php';
3434

3535
// Render the Font Library page
36-
font_library_wp_admin_render_page();
36+
wp_font_library_wp_admin_render_page();
3737

3838
require_once ABSPATH . 'wp-admin/admin-footer.php';

src/wp-admin/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* please refer to wp-admin/_index.php.
77
*/
88

9-
if ( file_exists( __DIR__ . '/../wp-includes/js/dist/edit-post.js' ) && file_exists( __DIR__ . '/../wp-includes/build' ) ) {
9+
if ( file_exists( __DIR__ . '/../wp-includes/js/jquery/jquery.js' ) && file_exists( __DIR__ . '/../wp-includes/build' ) ) {
1010
require_once __DIR__ . '/_index.php';
1111
return;
1212
}

0 commit comments

Comments
 (0)