Make WordPress Core


Ignore:
Timestamp:
04/05/2017 09:07:04 PM (8 years 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.