WordPress.org

Make WordPress Core

Changeset 52535


Ignore:
Timestamp:
01/06/2022 10:57:06 PM (2 weeks 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.

Props la-geek, audrasjb, tobifjellner, hellofromtonya.
Fixes #54745.

File:
1 edited

Legend:

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

    r52276 r52535  
    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.