Ticket #39466: 39466.patch
File 39466.patch, 718 bytes (added by , 7 years ago) |
---|
-
src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
1724 1724 'description' => __( 'A named status for the object.' ), 1725 1725 'type' => 'string', 1726 1726 'enum' => array_keys( get_post_stati( array( 'internal' => false ) ) ), 1727 'context' => array( ' edit' ),1727 'context' => array( 'view', 'edit' ), 1728 1728 ), 1729 1729 'type' => array( 1730 1730 'description' => __( 'Type of Post for the object.' ),