- Timestamp:
- 11/15/2016 05:38:21 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
r39238 r39239 1934 1934 $base = ! empty( $taxonomy->rest_base ) ? $taxonomy->rest_base : $taxonomy->name; 1935 1935 $schema['properties'][ $base ] = array( 1936 'description' => sprintf( __( /* translators: %s: taxonomy name */ 'The terms assigned to the object in the %s taxonomy.' ), $taxonomy->name ), 1936 /* translators: %s: taxonomy name */ 1937 'description' => sprintf( __( 'The terms assigned to the object in the %s taxonomy.' ), $taxonomy->name ), 1937 1938 'type' => 'array', 1938 1939 'items' => array( … … 2089 2090 2090 2091 $params[ $base ] = array( 2091 'description' => sprintf( __( /* translators: %s: taxonomy name */ 'Limit result set to all items that have the specified term assigned in the %s taxonomy.' ), $base ), 2092 /* translators: %s: taxonomy name */ 2093 'description' => sprintf( __( 'Limit result set to all items that have the specified term assigned in the %s taxonomy.' ), $base ), 2092 2094 'type' => 'array', 2093 2095 'items' => array( … … 2098 2100 2099 2101 $params[ $base . '_exclude' ] = array( 2100 'description' => sprintf( __( /* translators: %s: taxonomy name */ 'Limit result set to all items except those that have the specified term assigned in the %s taxonomy.' ), $base ), 2102 /* translators: %s: taxonomy name */ 2103 'description' => sprintf( __( 'Limit result set to all items except those that have the specified term assigned in the %s taxonomy.' ), $base ), 2101 2104 'type' => 'array', 2102 2105 'items' => array(
Note: See TracChangeset
for help on using the changeset viewer.