Make WordPress Core


Ignore:
Timestamp:
01/08/2022 07:33:56 AM (21 months ago)
Author:
audrasjb
Message:

REST API: Typo correction in a link description object.

This change fixes a wrong punctuation in a link description object of the menu items controller endpoint. It also updates qUnit test fixtures accordingly.

Props la-geek, audrasjb, tobifjellner, hellofromtonya, davidbaumwald.
Merges [52535] and [52536] to the 5.9 branch.
Fixes #54745.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.9/src/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php

    r52276 r52541  
    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',
Note: See TracChangeset for help on using the changeset viewer.