Changeset 61492 for trunk/src/wp-admin/font-library.php
- Timestamp:
- 01/16/2026 10:30:09 AM (7 weeks ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/font-library.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/font-library.php
r61438 r61492 20 20 21 21 // 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' ) ) { 23 23 wp_die( 24 24 '<h1>' . __( 'Font Library is not available.' ) . '</h1>' . 25 '<p>' . __( 'The Font Library requires Gutenberg integration. Please run <code>npm run gutenberg:integrate</code> to build the necessary files.' ) . '</p>',25 '<p>' . __( 'The Font Library requires Gutenberg build files. Please run <code>npm install</code> to build the necessary files.' ) . '</p>', 26 26 503 27 27 ); … … 34 34 35 35 // Render the Font Library page 36 font_library_wp_admin_render_page();36 wp_font_library_wp_admin_render_page(); 37 37 38 38 require_once ABSPATH . 'wp-admin/admin-footer.php';
Note: See TracChangeset
for help on using the changeset viewer.