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. Built from https://develop.svn.wordpress.org/trunk@36070 git-svn-id: http://core.svn.wordpress.org/trunk@36035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1402c3d8b4
commit
ad64c0f2d7
|
@ -266,9 +266,9 @@ function get_editable_authors( $user_id ) {
|
||||||
*
|
*
|
||||||
* @deprecated 3.1.0 Use get_users()
|
* @deprecated 3.1.0 Use get_users()
|
||||||
*
|
*
|
||||||
* @param int $user_id User ID.
|
* @param int $user_id User ID.
|
||||||
* @param bool $exclude_zeros Optional, default is true. Whether to exclude zeros.
|
* @param bool $exclude_zeros Optional. Whether to exclude zeroes. Default true.
|
||||||
* @return mixed
|
* @return array Array of editable user IDs, empty array otherwise.
|
||||||
*/
|
*/
|
||||||
function get_editable_user_ids( $user_id, $exclude_zeros = true, $post_type = 'post' ) {
|
function get_editable_user_ids( $user_id, $exclude_zeros = true, $post_type = 'post' ) {
|
||||||
_deprecated_function( __FUNCTION__, '3.1', 'get_users()' );
|
_deprecated_function( __FUNCTION__, '3.1', 'get_users()' );
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.5-alpha-36069';
|
$wp_version = '4.5-alpha-36070';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue