Make WordPress Core


Ignore:
Timestamp:
11/10/2021 02:16:03 PM (23 months 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/default-filters.php

    r52069 r52110  
    663663add_filter( 'user_has_cap', 'wp_maybe_grant_site_health_caps', 1, 4 );
    664664
    665 // Block Templates CPT and Rendering
     665// Block Templates post type and Rendering
    666666add_filter( 'render_block_context', '_block_template_render_without_post_block_context' );
    667667add_filter( 'pre_wp_unique_post_slug', 'wp_filter_wp_template_unique_post_slug', 10, 5 );
Note: See TracChangeset for help on using the changeset viewer.