diff --git a/wp-includes/class-wp-theme.php b/wp-includes/class-wp-theme.php index bdf3bdd2d9..2d6ee7eca1 100644 --- a/wp-includes/class-wp-theme.php +++ b/wp-includes/class-wp-theme.php @@ -345,11 +345,12 @@ final class WP_Theme implements ArrayAccess { && ! file_exists( $theme_path . '/index.php' ) ) { $error_message = sprintf( - /* translators: 1: templates/index.html, 2: index.php, 3: Documentation URL, 4: style.css */ - __( 'Template is missing. Standalone themes need to have a %1$s or %2$s template file. Child themes need to have a Template header in the %4$s stylesheet.' ), + /* translators: 1: templates/index.html, 2: index.php, 3: Documentation URL, 4: Template, 5: style.css */ + __( 'Template is missing. Standalone themes need to have a %1$s or %2$s template file. Child themes need to have a %4$s header in the %5$s stylesheet.' ), 'templates/index.html', 'index.php', __( 'https://developer.wordpress.org/themes/advanced-topics/child-themes/' ), + 'Template', 'style.css' ); $this->errors = new WP_Error( 'theme_no_index', $error_message ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 60cc656612..6a778a1981 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-beta1-53189'; +$wp_version = '6.0-beta1-53190'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.