Changeset 57541
- Timestamp:
- 02/06/2024 10:56:38 AM (2 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/post.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r57539 r57541 568 568 'wp_font_family', 569 569 array( 570 'labels' => array(570 'labels' => array( 571 571 'name' => __( 'Font Families' ), 572 572 'singular_name' => __( 'Font Family' ), 573 573 ), 574 'public' => false,575 '_builtin' => true, /* internal use only. don't use this when registering your own post type. */576 'hierarchical' => false,577 'capabilities' => array(574 'public' => false, 575 '_builtin' => true, /* internal use only. don't use this when registering your own post type. */ 576 'hierarchical' => false, 577 'capabilities' => array( 578 578 'read' => 'edit_theme_options', 579 579 'read_private_posts' => 'edit_theme_options', … … 587 587 'delete_published_posts' => 'edit_theme_options', 588 588 ), 589 'map_meta_cap' => true,590 'query_var' => false,591 'show_in_rest' => false,592 'rewrite' => false,589 'map_meta_cap' => true, 590 'query_var' => false, 591 'show_in_rest' => false, 592 'rewrite' => false, 593 593 ) 594 594 ); … … 597 597 'wp_font_face', 598 598 array( 599 'labels' => array(599 'labels' => array( 600 600 'name' => __( 'Font Faces' ), 601 601 'singular_name' => __( 'Font Face' ), 602 602 ), 603 'public' => false,604 '_builtin' => true, /* internal use only. don't use this when registering your own post type. */605 'hierarchical' => false,606 'capabilities' => array(603 'public' => false, 604 '_builtin' => true, /* internal use only. don't use this when registering your own post type. */ 605 'hierarchical' => false, 606 'capabilities' => array( 607 607 'read' => 'edit_theme_options', 608 608 'read_private_posts' => 'edit_theme_options', … … 616 616 'delete_published_posts' => 'edit_theme_options', 617 617 ), 618 'map_meta_cap' => true,619 'query_var' => false,620 'show_in_rest' => false,621 'rewrite' => false,618 'map_meta_cap' => true, 619 'query_var' => false, 620 'show_in_rest' => false, 621 'rewrite' => false, 622 622 ) 623 623 );
Note: See TracChangeset
for help on using the changeset viewer.