~canonical-sysadmins/wordpress/4.8.1

« back to all changes in this revision

Viewing changes to wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php

  • Committer: axino
  • Date: 2017-04-21 09:50:23 UTC
  • mfrom: (1.1.24 upstream)
  • Revision ID: axino@canonical.com-20170421095023-9ovs9chcswvhibbe
Merge WP4.7.4 from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
979
979
 
980
980
                $query_params['slug'] = array(
981
981
                        'description'       => __( 'Limit result set to terms with a specific slug.' ),
982
 
                        'type'              => 'string',
 
982
                        'type'              => 'array',
 
983
                        'items'             => array(
 
984
                                'type'          => 'string'
 
985
                        ),
983
986
                );
984
987
 
985
988
                /**