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