Make WordPress Core


Ignore:
Timestamp:
11/01/2014 08:19:26 PM (9 years ago)
Author:
wonderboymusic
Message:

Improve some post_status-related documentation.

Props ericlewis.
See #30230.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r30122 r30155  
    10611061
    10621062/**
    1063  * Get a list of all registered post status objects.
     1063 * Get a list of post statuses.
    10641064 *
    10651065 * @since 3.0.0
     
    10691069 * @see register_post_status()
    10701070 *
    1071  * @param array|string $args     Optional. Array or string of post status arguments. Default array.
    1072  * @param string       $output   Optional. The type of output to return. Accepts post status 'names'
    1073  *                               or 'objects'. Default 'names'.
     1071 * @param array|string $args     Optional. Array or string of post status arguments to compare against
     1072 *                               properties of the global $wp_post_statuses objects. Default empty array.
     1073 * @param string       $output   Optional. The type of output to return, either 'names' or 'objects'. Default 'names'.
    10741074 * @param string       $operator Optional. The logical operation to perform. 'or' means only one element
    10751075 *                               from the array needs to match; 'and' means all elements must match.
Note: See TracChangeset for help on using the changeset viewer.