Changeset 52041
- Timestamp:
- 11/08/2021 02:24:02 PM (3 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r52024 r52041 360 360 'slug', 361 361 'excerpt', 362 'editor', 363 'revisions', 364 ), 365 ) 366 ); 367 368 register_post_type( 369 'wp_global_styles', 370 array( 371 'label' => __( 'Global Styles', 'gutenberg' ), 372 'description' => 'CPT to store user design tokens', 373 'public' => false, 374 'show_ui' => false, 375 'show_in_rest' => false, 376 'rewrite' => false, 377 'capabilities' => array( 378 'read' => 'edit_theme_options', 379 'create_posts' => 'edit_theme_options', 380 'edit_posts' => 'edit_theme_options', 381 'edit_published_posts' => 'edit_theme_options', 382 'delete_published_posts' => 'edit_theme_options', 383 'edit_others_posts' => 'edit_theme_options', 384 'delete_others_posts' => 'edit_theme_options', 385 ), 386 'map_meta_cap' => true, 387 'supports' => array( 388 'title', 362 389 'editor', 363 390 'revisions', -
trunk/src/wp-includes/taxonomy.php
r51965 r52041 176 176 register_taxonomy( 177 177 'wp_theme', 178 array( 'wp_template' ),178 array( 'wp_template', 'wp_global_styles' ), 179 179 array( 180 180 'public' => false,
Note: See TracChangeset
for help on using the changeset viewer.