mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@52110 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -600,7 +600,7 @@ function get_block_templates( $query = array(), $template_type = 'wp_template' )
|
||||
$wp_query_args['post_name__in'] = $query['slug__in'];
|
||||
}
|
||||
|
||||
// This is only needed for the regular templates/template parts CPT listing and editor.
|
||||
// This is only needed for the regular templates/template parts post type listing and editor.
|
||||
if ( isset( $query['wp_id'] ) ) {
|
||||
$wp_query_args['p'] = $query['wp_id'];
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user