Make WordPress Core


Ignore:
Timestamp:
12/01/2014 01:33:34 AM (11 years ago)
Author:
wonderboymusic
Message:

Improve various @param docs for src/wp-includes/*.

See #30224.

File:
1 edited

Legend:

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

    r30656 r30681  
    459459 *
    460460 * @param string|array $args Optional. Override default arguments.
    461  * @return string HTML content only if 'echo' argument is 0.
     461 * @return false|null|string HTML content only if 'echo' argument is 0.
    462462 */
    463463function wp_list_categories( $args = '' ) {
     
    587587 * @since 2.3.0
    588588 *
    589  * @param array|string $args Optional. Override default arguments.
    590  * @return array Generated tag cloud, only if no failures and 'array' is set for the 'format' argument.
     589 * @param array|string|null $args Optional. Override default arguments.
     590 * @return null|false Generated tag cloud, only if no failures and 'array' is set for the 'format' argument.
    591591 */
    592592function wp_tag_cloud( $args = '' ) {
     
    13221322 * @param string $sep Optional. Separate items using this.
    13231323 * @param string $after Optional. After list.
    1324  * @return null|bool False on WordPress error. Returns null when displaying.
     1324 * @return false|null False on WordPress error. Returns null when displaying.
    13251325 */
    13261326function the_terms( $id, $taxonomy, $before = '', $sep = ', ', $after = '' ) {
Note: See TracChangeset for help on using the changeset viewer.