Make WordPress Core

Ticket #54745: 54745.2.diff

File 54745.2.diff, 856 bytes (added by audrasjb, 3 years ago)
  • src/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php

    diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php
    index 57ddc38078..f25be71bef 100644
    a b class WP_REST_Menu_Items_Controller extends WP_REST_Posts_Controller { 
    816816                );
    817817
    818818                $schema['properties']['object'] = array(
    819                         'description' => __( 'The type of object originally represented, such as "category," "post", or "attachment."' ),
     819                        'description' => __( 'The type of object originally represented, such as "category", "post", or "attachment".' ),
    820820                        'context'     => array( 'view', 'edit', 'embed' ),
    821821                        'type'        => 'string',
    822822                        'arg_options' => array(