Make WordPress Core


Ignore:
Timestamp:
12/01/2014 12:59:43 AM (10 years ago)
Author:
wonderboymusic
Message:

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

See #30224.

File:
1 edited

Legend:

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

    r30641 r30680  
    404404 * @since 2.7.0
    405405 *
    406  * @param string|int $position
     406 * @param int $position
    407407 * @param bool $checkbox
    408408 * @param string $mode
     
    708708 * @since 0.71
    709709 *
    710  * @param int|bool $edit      Accepts 1|true for editing the date, 0|false for adding the date.
    711  * @param int|bool $for_post  Accepts 1|true for applying the date to a post, 0|false for a comment.
    712  * @param int|bool $tab_index The tabindex attribute to add. Default 0.
    713  * @param int|bool $multi     Optional. Whether the additional fields and buttons should be added.
     710 * @param int $edit      Accepts 1|true for editing the date, 0|false for adding the date.
     711 * @param int $for_post  Accepts 1|true for applying the date to a post, 0|false for a comment.
     712 * @param int $tab_index The tabindex attribute to add. Default 0.
     713 * @param int $multi     Optional. Whether the additional fields and buttons should be added.
    714714 *                            Default 0|false.
    715715 */
     
    814814 * @param int $level   Optional. Page depth level. Default 0.
    815815 *
    816  * @return void|bool Boolean False if page has no children, otherwise print out html elements
     816 * @return null|false Boolean False if page has no children, otherwise print out html elements
    817817 */
    818818function parent_dropdown( $default = 0, $parent = 0, $level = 0 ) {
     
    993993 * @since 2.5.0
    994994 *
    995  * @param string|object $screen Screen identifier
     995 * @staticvar bool $already_sorted
     996 * @param string|WP_Screen $screen Screen identifier
    996997 * @param string $context box context
    997998 * @param mixed $object gets passed to the box callback function as first parameter
Note: See TracChangeset for help on using the changeset viewer.