diff --git a/src/wp-admin/font-library.php b/src/wp-admin/font-library.php index abc2ea4f4da70..0daff32ba5bac 100644 --- a/src/wp-admin/font-library.php +++ b/src/wp-admin/font-library.php @@ -18,11 +18,11 @@ ); } -// Check if Gutenberg build files are available +// Check if the build files are available. if ( ! function_exists( 'wp_font_library_wp_admin_render_page' ) ) { wp_die( - '

' . __( 'Font Library is not available.' ) . '

' . - '

' . __( 'The Font Library requires Gutenberg build files. Please run npm install to build the necessary files.' ) . '

', + '

' . __( 'The Font Library is not available.' ) . '

' . + '

' . __( 'The Font Library requires build files. Please build WordPress and try again.' ) . '

', 503 ); } diff --git a/src/wp-admin/options-connectors.php b/src/wp-admin/options-connectors.php index c67d857b2b60d..ddad78f4f135f 100644 --- a/src/wp-admin/options-connectors.php +++ b/src/wp-admin/options-connectors.php @@ -20,8 +20,8 @@ if ( ! class_exists( '\WordPress\AiClient\AiClient' ) || ! function_exists( 'wp_options_connectors_wp_admin_render_page' ) ) { wp_die( - '

' . __( 'Connectors are not available.' ) . '

' . - '

' . __( 'The Connectors page requires build files. Please run npm install to build the necessary files.' ) . '

', + '

' . __( 'The Connectors are not available.' ) . '

' . + '

' . __( 'The Connectors page requires build files. Please build WordPress and try again.' ) . '

', 503 ); }