mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-13 02:51:33 +01:00
Posts, Post Types: Mark the wp_global_styles
post type as _builtin
.
All native or “built-in” post types should be marked as such. Follow up to [52041]. See #54336. Built from https://develop.svn.wordpress.org/trunk@52108 git-svn-id: http://core.svn.wordpress.org/trunk@51700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2803958573
commit
5932a68ba6
@ -452,6 +452,7 @@ function create_initial_post_types() {
|
|||||||
'label' => __( 'Global Styles' ),
|
'label' => __( 'Global Styles' ),
|
||||||
'description' => 'CPT to store user design tokens',
|
'description' => 'CPT to store user design tokens',
|
||||||
'public' => false,
|
'public' => false,
|
||||||
|
'_builtin' => true, /* internal use only. don't use this when registering your own post type. */
|
||||||
'show_ui' => false,
|
'show_ui' => false,
|
||||||
'show_in_rest' => false,
|
'show_in_rest' => false,
|
||||||
'rewrite' => false,
|
'rewrite' => false,
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.9-alpha-52107';
|
$wp_version = '5.9-alpha-52108';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user