File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change 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> ' ,
3333require_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
3838require_once ABSPATH . 'wp-admin/admin-footer.php ' ;
Original file line number Diff line number Diff line change 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}
You can’t perform that action at this time.
0 commit comments