Make WordPress Core


Ignore:
Timestamp:
11/10/2021 02:16:03 PM (4 years ago)
Author:
desrosj
Message:

Docs: Avoid using “CPT” instead of “custom post type”.

Additionally, when referring to built in Core post types, “custom” is unnecessary.

This also adds a period to the end of the wp_global_styles post type description.

Follow up to [38829], [51003], [52041], [52049], [52062].

See #53399, #54335, #54336.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r52109 r52110  
    451451        array(
    452452            'label'        => __( 'Global Styles' ),
    453             'description'  => __( 'CPT to store user design tokens' ),
     453            'description'  => __( 'Post type for storing user design tokens.' ),
    454454            'public'       => false,
    455455            '_builtin'     => true, /* internal use only. don't use this when registering your own post type. */
Note: See TracChangeset for help on using the changeset viewer.