- Timestamp:
- 11/23/2016 02:42:00 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
r39322 r39342 1964 1964 1965 1965 $params['after'] = array( 1966 'description' => __( 'Limit response to resources published after a given ISO8601 compliant date.' ),1966 'description' => __( 'Limit response to posts published after a given ISO8601 compliant date.' ), 1967 1967 'type' => 'string', 1968 1968 'format' => 'date-time', … … 1989 1989 1990 1990 $params['before'] = array( 1991 'description' => __( 'Limit response to resources published before a given ISO8601 compliant date.' ),1991 'description' => __( 'Limit response to posts published before a given ISO8601 compliant date.' ), 1992 1992 'type' => 'string', 1993 1993 'format' => 'date-time', … … 2014 2014 if ( 'page' === $this->post_type || post_type_supports( $this->post_type, 'page-attributes' ) ) { 2015 2015 $params['menu_order'] = array( 2016 'description' => __( 'Limit result set to resources with a specific menu_order value.' ),2016 'description' => __( 'Limit result set to posts with a specific menu_order value.' ), 2017 2017 'type' => 'integer', 2018 2018 );
Note: See TracChangeset
for help on using the changeset viewer.