WordPress.org

Make WordPress Core

Changeset 40377


Ignore:
Timestamp:
04/05/17 21:07:04 (5 months ago)
Author:
jnylen0
Message:

REST API: Update description string of terms endpoint slug parameter.

As a follow-up to [40376], and for consistency with the posts endpoint, we should indicate in the description that the slug filter parameter can accept multiple values.

See #40027.

File:
1 edited

Legend:

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

    r40376 r40377  
    978978 
    979979        $query_params['slug'] = array( 
    980             'description'       => __( 'Limit result set to terms with a specific slug.' ), 
     980            'description'       => __( 'Limit result set to terms with one or more specific slugs.' ), 
    981981            'type'              => 'array', 
    982982            'items'             => array( 
Note: See TracChangeset for help on using the changeset viewer.