Make WordPress Core


Ignore:
Timestamp:
12/20/2014 11:03:21 PM (10 years ago)
Author:
wonderboymusic
Message:

Correct the @param docs for arguments that are truthy/falsey.

See #30799.

File:
1 edited

Legend:

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

    r30982 r30983  
    711711 * @since 0.71
    712712 *
    713  * @param int $edit      Accepts 1|true for editing the date, 0|false for adding the date.
    714  * @param int $for_post  Accepts 1|true for applying the date to a post, 0|false for a comment.
    715  * @param int $tab_index The tabindex attribute to add. Default 0.
    716  * @param int $multi     Optional. Whether the additional fields and buttons should be added.
     713 * @param int|bool $edit      Accepts 1|true for editing the date, 0|false for adding the date.
     714 * @param int|bool $for_post  Accepts 1|true for applying the date to a post, 0|false for a comment.
     715 * @param int      $tab_index The tabindex attribute to add. Default 0.
     716 * @param int|bool $multi     Optional. Whether the additional fields and buttons should be added.
    717717 *                            Default 0|false.
    718718 */
Note: See TracChangeset for help on using the changeset viewer.