diff --git a/src/wp-admin/includes/deprecated.php b/src/wp-admin/includes/deprecated.php index 6a3b4b8ed5..b032018f28 100644 --- a/src/wp-admin/includes/deprecated.php +++ b/src/wp-admin/includes/deprecated.php @@ -222,6 +222,8 @@ function use_codepress() { * * @deprecated 3.1.0 Use get_users() * + * @global wpdb $wpdb WordPress database abstraction object. + * * @return array List of user IDs. */ function get_author_user_ids() { @@ -241,6 +243,8 @@ function get_author_user_ids() { * * @deprecated 3.1.0 Use get_users() * + * @global wpdb $wpdb WordPress database abstraction object. + * * @param int $user_id User ID. * @return array|bool List of editable authors. False if no editable users. */ @@ -266,6 +270,8 @@ function get_editable_authors( $user_id ) { * * @deprecated 3.1.0 Use get_users() * + * @global wpdb $wpdb WordPress database abstraction object. + * * @param int $user_id User ID. * @param bool $exclude_zeros Optional. Whether to exclude zeroes. Default true. * @return array Array of editable user IDs, empty array otherwise. @@ -302,6 +308,8 @@ function get_editable_user_ids( $user_id, $exclude_zeros = true, $post_type = 'p * Gets all users who are not authors. * * @deprecated 3.1.0 Use get_users() + * + * @global wpdb $wpdb WordPress database abstraction object. */ function get_nonauthor_user_ids() { _deprecated_function( __FUNCTION__, '3.1.0', 'get_users()' ); @@ -664,6 +672,8 @@ endif; * @deprecated 3.1.0 Use get_posts() * @see get_posts() * + * @global wpdb $wpdb WordPress database abstraction object. + * * @param int $user_id User ID to not retrieve posts from. * @param string $type Optional. Post type to retrieve. Accepts 'draft', 'pending' or 'any' (all). * Default 'any'.