Changeset 50529
- Timestamp:
- 03/13/2021 10:23:56 AM (4 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-block-type.php
r50527 r50529 102 102 /** 103 103 * Block variations. 104 * 104 105 * @since 5.8.0 105 106 * @var array -
trunk/src/wp-includes/post.php
r50527 r50529 1723 1723 * `item_scheduled`, and `item_updated` labels. 1724 1724 * @since 5.7.0 Added the `filter_by_date` label. 1725 * @since 5.8.0 Added the `item_link` and `item_link_description` labels. 1725 1726 * 1726 1727 * @access private … … 1730 1731 */ 1731 1732 function get_post_type_labels( $post_type_object ) { 1732 $nohier_vs_hier_defaults 1733 $nohier_vs_hier_defaults = array( 1733 1734 'name' => array( _x( 'Posts', 'post type general name' ), _x( 'Pages', 'post type general name' ) ), 1734 1735 'singular_name' => array( _x( 'Post', 'post type singular name' ), _x( 'Page', 'post type singular name' ) ), … … 1770 1771 ), 1771 1772 ); 1773 1772 1774 $nohier_vs_hier_defaults['menu_name'] = $nohier_vs_hier_defaults['name']; 1773 1775 -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php
r50527 r50529 363 363 } 364 364 365 // rest_validate_value_from_schema doesn't understand $refs, pull out reused definitions for readability.365 // rest_validate_value_from_schema doesn't understand $refs, pull out reused definitions for readability. 366 366 $inner_blocks_definition = array( 367 367 'description' => __( 'The list of inner blocks used in the example.' ), -
trunk/src/wp-includes/taxonomy.php
r50527 r50529 539 539 * @since 4.9.0 Added the `most_used` and `back_to_items` labels. 540 540 * @since 5.7.0 Added the `filter_by_item` label. 541 * @since 5.8.0 Added the `item_link` and `item_link_description` labels. 541 542 * 542 543 * @param WP_Taxonomy $tax Taxonomy object. … … 580 581 * Default 'Tag Link'/'Category Link'. 581 582 * @type string $item_link_description Used in the block editor. Description for a navigation link block 582 * variation. Default 'A link to a tag .'/'A link to a category'.583 * variation. Default 'A link to a tag'/'A link to a category'. 583 584 * } 584 585 */ … … 627 628 ), 628 629 ); 630 629 631 $nohier_vs_hier_defaults['menu_name'] = $nohier_vs_hier_defaults['name']; 630 632
Note: See TracChangeset
for help on using the changeset viewer.