Make WordPress Core

Changeset 53171


Ignore:
Timestamp:
04/13/2022 07:04:45 AM (3 years ago)
Author:
gziolo
Message:

REST API: Fix incorrect casing of patterns endpoint schema properties

Follow-up [53154].

Props talldanwp.
See #55505.

File:
1 edited

Legend:

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

    r53154 r53171  
    161161                    'context'     => array( 'view', 'edit', 'embed' ),
    162162                ),
    163                 'viewport_Width' => array(
     163                'viewport_width' => array(
    164164                    'description' => __( 'The pattern viewport width for inserter preview.' ),
    165165                    'type'        => 'number',
     
    167167                    'context'     => array( 'view', 'edit', 'embed' ),
    168168                ),
    169                 'block_Types'    => array(
     169                'block_types'    => array(
    170170                    'description' => __( 'Block types that the pattern is intended to be used with.' ),
    171171                    'type'        => 'array',
Note: See TracChangeset for help on using the changeset viewer.