Make WordPress Core

Ticket #40027: 40027.diff

File 40027.diff, 612 bytes (added by MatheusGimenez, 10 years ago)
  • src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php

     
    978978
    979979                $query_params['slug'] = array(
    980980                        'description'       => __( 'Limit result set to terms with a specific slug.' ),
    981                         'type'              => 'string',
     981                        'type'              => 'array',
     982                        'items'                         => array(
     983                                'type'                  => 'string'
     984                        ),
    982985                );
    983986
    984987                /**