diff --git src/wp-includes/post.php src/wp-includes/post.php
index 10f2129c53..9a1609ec51 100644
|
|
|
function _post_type_meta_capabilities( $capabilities = null ) { |
| 1433 | 1433 | * `items_list_navigation`, and `items_list` labels. |
| 1434 | 1434 | * @since 4.6.0 Converted the `$post_type` parameter to accept a WP_Post_Type object. |
| 1435 | 1435 | * @since 4.7.0 Added the `view_items` and `attributes` labels. |
| | 1436 | * @since 5.0.0 Added the `item_published`, `item_published_privately`, `item_reverted_to_draft`, |
| | 1437 | * `item_scheduled`, and `item_updated` labels. |
| 1436 | 1438 | * |
| 1437 | 1439 | * @access private |
| 1438 | 1440 | * |
| … |
… |
function get_post_type_labels( $post_type_object ) { |
| 1465 | 1467 | 'filter_items_list' => array( __( 'Filter posts list' ), __( 'Filter pages list' ) ), |
| 1466 | 1468 | 'items_list_navigation' => array( __( 'Posts list navigation' ), __( 'Pages list navigation' ) ), |
| 1467 | 1469 | 'items_list' => array( __( 'Posts list' ), __( 'Pages list' ) ), |
| | 1470 | 'item_published' => array( __( 'Post published.' ), __( 'Page published.' ) ), |
| | 1471 | 'item_published_privately' => array( __( 'Post published privately.' ), __( 'Page published privately.' ) ), |
| | 1472 | 'item_reverted_to_draft' => array( __( 'Post reverted to draft.' ), __( 'Page reverted to draft.' ) ), |
| | 1473 | 'item_scheduled' => array( __( 'Post scheduled.' ), __( 'Page scheduled.' ) ), |
| | 1474 | 'item_updated' => array( __( 'Post updated.' ), __( 'Page updated.' ) ), |
| 1468 | 1475 | ); |
| 1469 | 1476 | $nohier_vs_hier_defaults['menu_name'] = $nohier_vs_hier_defaults['name']; |
| 1470 | 1477 | |