Make WordPress Core


Ignore:
Timestamp:
11/10/2021 02:16:03 PM (3 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/block-template-utils.php

    r52062 r52110  
    601601    }
    602602
    603     // This is only needed for the regular templates/template parts CPT listing and editor.
     603    // This is only needed for the regular templates/template parts post type listing and editor.
    604604    if ( isset( $query['wp_id'] ) ) {
    605605        $wp_query_args['p'] = $query['wp_id'];
Note: See TracChangeset for help on using the changeset viewer.