mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-23 00:31:28 +01:00
Editor: Fix abbreviations of "Example" in block-template-utils.php
.
This changeset improves the consistency of the use of "e.g." in template descriptions. Props jordesign, audrasjb, joedolson. Fixes #58879. Built from https://develop.svn.wordpress.org/trunk@56287 git-svn-id: http://core.svn.wordpress.org/trunk@55799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2eb4c43a4d
commit
96d3c045bc
@ -127,7 +127,7 @@ function get_default_block_template_types() {
|
||||
),
|
||||
'singular' => array(
|
||||
'title' => _x( 'Single Entries', 'Template name' ),
|
||||
'description' => __( 'Displays any single entry, such as a post or a page. This template will serve as a fallback when a more specific template (e.g., Single Post, Page, or Attachment) cannot be found.' ),
|
||||
'description' => __( 'Displays any single entry, such as a post or a page. This template will serve as a fallback when a more specific template (e.g. Single Post, Page, or Attachment) cannot be found.' ),
|
||||
),
|
||||
'single' => array(
|
||||
'title' => _x( 'Single Posts', 'Template name' ),
|
||||
@ -139,19 +139,19 @@ function get_default_block_template_types() {
|
||||
),
|
||||
'archive' => array(
|
||||
'title' => _x( 'All Archives', 'Template name' ),
|
||||
'description' => __( 'Displays any archive, including posts by a single author, category, tag, taxonomy, custom post type, and date. This template will serve as a fallback when more specific templates (e.g., Category or Tag) cannot be found.' ),
|
||||
'description' => __( 'Displays any archive, including posts by a single author, category, tag, taxonomy, custom post type, and date. This template will serve as a fallback when more specific templates (e.g. Category or Tag) cannot be found.' ),
|
||||
),
|
||||
'author' => array(
|
||||
'title' => _x( 'Author Archives', 'Template name' ),
|
||||
'description' => __( 'Displays a single author\'s post archive. This template will serve as a fallback when a more specific template (e.g., Author: Admin) cannot be found.' ),
|
||||
'description' => __( 'Displays a single author\'s post archive. This template will serve as a fallback when a more specific template (e.g. Author: Admin) cannot be found.' ),
|
||||
),
|
||||
'category' => array(
|
||||
'title' => _x( 'Category Archives', 'Template name' ),
|
||||
'description' => __( 'Displays a post category archive. This template will serve as a fallback when a more specific template (e.g., Category: Recipes) cannot be found.' ),
|
||||
'description' => __( 'Displays a post category archive. This template will serve as a fallback when a more specific template (e.g. Category: Recipes) cannot be found.' ),
|
||||
),
|
||||
'taxonomy' => array(
|
||||
'title' => _x( 'Taxonomy', 'Template name' ),
|
||||
'description' => __( 'Displays a custom taxonomy archive. Like categories and tags, taxonomies have terms which you use to classify things. For example: a taxonomy named "Art" can have multiple terms, such as "Modern" and "18th Century." This template will serve as a fallback when a more specific template (e.g, Taxonomy: Art) cannot be found.' ),
|
||||
'description' => __( 'Displays a custom taxonomy archive. Like categories and tags, taxonomies have terms which you use to classify things. For example: a taxonomy named "Art" can have multiple terms, such as "Modern" and "18th Century." This template will serve as a fallback when a more specific template (e.g. Taxonomy: Art) cannot be found.' ),
|
||||
),
|
||||
'date' => array(
|
||||
'title' => _x( 'Date Archives', 'Template name' ),
|
||||
@ -159,7 +159,7 @@ function get_default_block_template_types() {
|
||||
),
|
||||
'tag' => array(
|
||||
'title' => _x( 'Tag Archives', 'Template name' ),
|
||||
'description' => __( 'Displays a post tag archive. This template will serve as a fallback when a more specific template (e.g., Tag: Pizza) cannot be found.' ),
|
||||
'description' => __( 'Displays a post tag archive. This template will serve as a fallback when a more specific template (e.g. Tag: Pizza) cannot be found.' ),
|
||||
),
|
||||
'attachment' => array(
|
||||
'title' => __( 'Attachment Pages' ),
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.4-alpha-56285';
|
||||
$wp_version = '6.4-alpha-56287';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user