Wrap get_user_by() in function_exists check. Props alexrabe. fixes #9617

git-svn-id: https://develop.svn.wordpress.org/trunk@11033 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-04-21 20:27:22 +00:00
parent 0692a7bd20
commit eef3fe8028
1 changed files with 2 additions and 0 deletions

View File

@ -139,6 +139,7 @@ function get_userdata( $user_id ) {
}
endif;
if ( !function_exists('get_user_by') ) :
/**
* Retrieve user info by a given field
*
@ -182,6 +183,7 @@ function get_user_by($field, $value) {
return $user;
}
endif;
if ( !function_exists('get_userdatabylogin') ) :
/**