Make WordPress Core

Changeset 36070


Ignore:
Timestamp:
12/23/2015 06:52:15 AM (9 years ago)
Author:
DrewAPicture
Message:

Docs: Properly mark the $exclude_zeros parameter in the DocBlock for get_editable_user_ids() as optional.

Also fixes a couple of typos.

See #32246.

File:
1 edited

Legend:

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

    r35874 r36070  
    267267 * @deprecated 3.1.0 Use get_users()
    268268 *
    269  * @param int $user_id User ID.
    270  * @param bool $exclude_zeros Optional, default is true. Whether to exclude zeros.
    271  * @return mixed
     269 * @param int  $user_id      User ID.
     270 * @param bool $exclude_zeros Optional. Whether to exclude zeroes. Default true.
     271 * @return array Array of editable user IDs, empty array otherwise.
    272272 */
    273273function get_editable_user_ids( $user_id, $exclude_zeros = true, $post_type = 'post' ) {
Note: See TracChangeset for help on using the changeset viewer.