Site Editor: Update the block template descriptions.
Align the template descriptions with the latest changes from the Gutenberg plugin. Props jameskoster, SergeyBiryukov. See #54335. Built from https://develop.svn.wordpress.org/trunk@52331 git-svn-id: http://core.svn.wordpress.org/trunk@51923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f70fb51f99
commit
bc3356601e
|
@ -110,55 +110,55 @@ function get_default_block_template_types() {
|
||||||
$default_template_types = array(
|
$default_template_types = array(
|
||||||
'index' => array(
|
'index' => array(
|
||||||
'title' => _x( 'Index', 'Template name' ),
|
'title' => _x( 'Index', 'Template name' ),
|
||||||
'description' => __( 'The default template used when no other template is available. This is a required template in WordPress.' ),
|
'description' => __( 'Displays posts.' ),
|
||||||
),
|
),
|
||||||
'home' => array(
|
'home' => array(
|
||||||
'title' => _x( 'Home', 'Template name' ),
|
'title' => _x( 'Home', 'Template name' ),
|
||||||
'description' => __( 'Template used for the main page that displays blog posts. This is the front page by default in WordPress. If a static front page is set, this is the template used for the page that contains the latest blog posts.' ),
|
'description' => __( 'Displays as the site\'s home page, or as the Posts page when a static home page it set.' ),
|
||||||
),
|
),
|
||||||
'front-page' => array(
|
'front-page' => array(
|
||||||
'title' => _x( 'Front Page', 'Template name' ),
|
'title' => _x( 'Front Page', 'Template name' ),
|
||||||
'description' => __( 'Template used to render the front page of the site, whether it displays blog posts or a static page. The front page template takes precedence over the "Home" template.' ),
|
'description' => __( 'Displays as the site\'s home page.' ),
|
||||||
),
|
),
|
||||||
'singular' => array(
|
'singular' => array(
|
||||||
'title' => _x( 'Singular', 'Template name' ),
|
'title' => _x( 'Singular', 'Template name' ),
|
||||||
'description' => __( 'Template used for displaying single views of the content. This template is a fallback for the Single, Post, and Page templates, which take precedence when they exist.' ),
|
'description' => __( 'Displays a single post or page.' ),
|
||||||
),
|
),
|
||||||
'single' => array(
|
'single' => array(
|
||||||
'title' => _x( 'Single Post', 'Template name' ),
|
'title' => _x( 'Single Post', 'Template name' ),
|
||||||
'description' => __( 'Template used to display a single blog post.' ),
|
'description' => __( 'Displays a single post.' ),
|
||||||
),
|
),
|
||||||
'page' => array(
|
'page' => array(
|
||||||
'title' => _x( 'Page', 'Template name' ),
|
'title' => _x( 'Page', 'Template name' ),
|
||||||
'description' => __( 'Template used to display individual pages.' ),
|
'description' => __( 'Displays a single page.' ),
|
||||||
),
|
),
|
||||||
'archive' => array(
|
'archive' => array(
|
||||||
'title' => _x( 'Archive', 'Template name' ),
|
'title' => _x( 'Archive', 'Template name' ),
|
||||||
'description' => __( 'The archive template displays multiple entries at once. It is used as a fallback for the Category, Author, and Date templates, which take precedence when they are available.' ),
|
'description' => __( 'Displays post categories, tags, and other archives.' ),
|
||||||
),
|
),
|
||||||
'author' => array(
|
'author' => array(
|
||||||
'title' => _x( 'Author', 'Template name' ),
|
'title' => _x( 'Author', 'Template name' ),
|
||||||
'description' => __( 'Archive template used to display a list of posts from a single author.' ),
|
'description' => __( 'Displays latest posts written by a single author.' ),
|
||||||
),
|
),
|
||||||
'category' => array(
|
'category' => array(
|
||||||
'title' => _x( 'Category', 'Template name' ),
|
'title' => _x( 'Category', 'Template name' ),
|
||||||
'description' => __( 'Archive template used to display a list of posts from the same category.' ),
|
'description' => __( 'Displays latest posts in single post category.' ),
|
||||||
),
|
),
|
||||||
'taxonomy' => array(
|
'taxonomy' => array(
|
||||||
'title' => _x( 'Taxonomy', 'Template name' ),
|
'title' => _x( 'Taxonomy', 'Template name' ),
|
||||||
'description' => __( 'Archive template used to display a list of posts from the same taxonomy.' ),
|
'description' => __( 'Displays latest posts from a single post taxonomy.' ),
|
||||||
),
|
),
|
||||||
'date' => array(
|
'date' => array(
|
||||||
'title' => _x( 'Date', 'Template name' ),
|
'title' => _x( 'Date', 'Template name' ),
|
||||||
'description' => __( 'Archive template used to display a list of posts from a specific date.' ),
|
'description' => __( 'Displays posts from a specific date.' ),
|
||||||
),
|
),
|
||||||
'tag' => array(
|
'tag' => array(
|
||||||
'title' => _x( 'Tag', 'Template name' ),
|
'title' => _x( 'Tag', 'Template name' ),
|
||||||
'description' => __( 'Archive template used to display a list of posts with a given tag.' ),
|
'description' => __( 'Displays latest posts with single post tag.' ),
|
||||||
),
|
),
|
||||||
'attachment' => array(
|
'attachment' => array(
|
||||||
'title' => __( 'Media' ),
|
'title' => __( 'Media' ),
|
||||||
'description' => __( 'Template used to display individual media items or attachments.' ),
|
'description' => __( 'Displays individual media items or attachments.' ),
|
||||||
),
|
),
|
||||||
'search' => array(
|
'search' => array(
|
||||||
'title' => _x( 'Search', 'Template name' ),
|
'title' => _x( 'Search', 'Template name' ),
|
||||||
|
@ -166,11 +166,11 @@ function get_default_block_template_types() {
|
||||||
),
|
),
|
||||||
'privacy-policy' => array(
|
'privacy-policy' => array(
|
||||||
'title' => __( 'Privacy Policy' ),
|
'title' => __( 'Privacy Policy' ),
|
||||||
'description' => '',
|
'description' => __( 'Displays the privacy policy page.' ),
|
||||||
),
|
),
|
||||||
'404' => array(
|
'404' => array(
|
||||||
'title' => _x( '404', 'Template name' ),
|
'title' => _x( '404', 'Template name' ),
|
||||||
'description' => __( 'Template shown when no content is found.' ),
|
'description' => __( 'Displays when no content is found.' ),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.9-beta1-52330';
|
$wp_version = '5.9-beta1-52331';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue