Set get_users() as a replacement to get_editable_user_ids() and friends. See #14572

git-svn-id: http://svn.automattic.com/wordpress/trunk@16605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
scribu 2010-11-29 05:39:39 +00:00
parent e466bb9d65
commit 4a980032b8

View File

@ -204,7 +204,7 @@ function use_codepress() {
* @return array List of user IDs. * @return array List of user IDs.
*/ */
function get_author_user_ids() { function get_author_user_ids() {
_deprecated_function( __FUNCTION__, '3.1' ); _deprecated_function( __FUNCTION__, '3.1', 'get_users()' );
global $wpdb; global $wpdb;
if ( !is_multisite() ) if ( !is_multisite() )
@ -222,7 +222,7 @@ function get_author_user_ids() {
* @return array|bool List of editable authors. False if no editable users. * @return array|bool List of editable authors. False if no editable users.
*/ */
function get_editable_authors( $user_id ) { function get_editable_authors( $user_id ) {
_deprecated_function( __FUNCTION__, '3.1' ); _deprecated_function( __FUNCTION__, '3.1', 'get_users()' );
global $wpdb; global $wpdb;
@ -246,7 +246,7 @@ function get_editable_authors( $user_id ) {
* @return unknown * @return unknown
*/ */
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' ); _deprecated_function( __FUNCTION__, '3.1', 'get_users()' );
global $wpdb; global $wpdb;
@ -276,7 +276,7 @@ function get_editable_user_ids( $user_id, $exclude_zeros = true, $post_type = 'p
* @deprecated 3.1.0 * @deprecated 3.1.0
*/ */
function get_nonauthor_user_ids() { function get_nonauthor_user_ids() {
_deprecated_function( __FUNCTION__, '3.1' ); _deprecated_function( __FUNCTION__, '3.1', 'get_users()' );
global $wpdb; global $wpdb;