Make WordPress Core

Ticket #20664: 20664.diff

File 20664.diff, 733 bytes (added by jeremyfelt, 4 years ago)
  • wp-includes/post.php

    755755 * @param string $output The type of output to return, either post status 'names' or 'objects'. 'names' is the default. 
    756756 * @param string $operator The logical operation to perform. 'or' means only one element 
    757757 *  from the array needs to match; 'and' means all elements must match. The default is 'and'. 
    758  * @return array A list of post type names or objects 
     758 * @return array A list of post status names or objects 
    759759 */ 
    760760function get_post_stati( $args = array(), $output = 'names', $operator = 'and' ) { 
    761761        global $wp_post_statuses;