Make WordPress Core


Ignore:
Timestamp:
11/08/2014 08:55:14 PM (10 years ago)
Author:
DrewAPicture
Message:

Fix the syntax for some status-related documentation introduced in [30155].

  • Variables in DocBlocks should be backtick-escaped
  • Parameter and return types should be as specific as possible
  • @param types and variables should align with each other, but not intentionally with the @return description

See #30230.

File:
1 edited

Legend:

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

    r30246 r30284  
    10701070 *
    10711071 * @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.
     1072 *                               properties of the global `$wp_post_statuses objects`. Default empty array.
    10731073 * @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
Note: See TracChangeset for help on using the changeset viewer.