Make WordPress Core

Changeset 56287 for trunk


Ignore:
Timestamp:
07/24/2023 08:52:59 PM (3 years ago)
Author:
audrasjb
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/block-template-utils.php

    r56230 r56287  
    128128                'singular'       => array(
    129129                        'title'       => _x( 'Single Entries', 'Template name' ),
    130                         '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.' ),
     130                        '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.' ),
    131131                ),
    132132                'single'         => array(
     
    140140                'archive'        => array(
    141141                        'title'       => _x( 'All Archives', 'Template name' ),
    142                         '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.' ),
     142                        '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.' ),
    143143                ),
    144144                'author'         => array(
    145145                        'title'       => _x( 'Author Archives', 'Template name' ),
    146                         '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.' ),
     146                        '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.' ),
    147147                ),
    148148                'category'       => array(
    149149                        'title'       => _x( 'Category Archives', 'Template name' ),
    150                         '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.' ),
     150                        '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.' ),
    151151                ),
    152152                'taxonomy'       => array(
    153153                        'title'       => _x( 'Taxonomy', 'Template name' ),
    154                         '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.' ),
     154                        '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.' ),
    155155                ),
    156156                'date'           => array(
     
    160160                'tag'            => array(
    161161                        'title'       => _x( 'Tag Archives', 'Template name' ),
    162                         '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.' ),
     162                        '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.' ),
    163163                ),
    164164                'attachment'     => array(
Note: See TracChangeset for help on using the changeset viewer.