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