mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin.
Props JustinSainton, SergeyBiryukov, DrewAPicture. Fixes #26713. git-svn-id: https://develop.svn.wordpress.org/trunk@26868 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -57,7 +57,7 @@ if ( !function_exists('get_user_by_email') ) :
|
||||
/**
|
||||
* Retrieve user info by email.
|
||||
*
|
||||
* @since 2.5
|
||||
* @since 2.5.0
|
||||
* @deprecated 3.3.0
|
||||
* @deprecated Use get_user_by('email')
|
||||
*
|
||||
@@ -74,8 +74,8 @@ if ( !function_exists('wp_setcookie') ) :
|
||||
/**
|
||||
* Sets a cookie for a user who just logged in. This function is deprecated.
|
||||
*
|
||||
* @since 1.5
|
||||
* @deprecated 2.5
|
||||
* @since 1.5.0
|
||||
* @deprecated 2.5.0
|
||||
* @deprecated Use wp_set_auth_cookie()
|
||||
* @see wp_set_auth_cookie()
|
||||
*
|
||||
@@ -99,8 +99,8 @@ if ( !function_exists('wp_clearcookie') ) :
|
||||
/**
|
||||
* Clears the authentication cookie, logging the user out. This function is deprecated.
|
||||
*
|
||||
* @since 1.5
|
||||
* @deprecated 2.5
|
||||
* @since 1.5.0
|
||||
* @deprecated 2.5.0
|
||||
* @deprecated Use wp_clear_auth_cookie()
|
||||
* @see wp_clear_auth_cookie()
|
||||
*/
|
||||
@@ -120,7 +120,7 @@ if ( !function_exists('wp_get_cookie_login') ):
|
||||
* used anywhere in WordPress. Also, plugins shouldn't use it either.
|
||||
*
|
||||
* @since 2.0.3
|
||||
* @deprecated 2.5
|
||||
* @deprecated 2.5.0
|
||||
* @deprecated No alternative
|
||||
*
|
||||
* @return bool Always returns false
|
||||
|
||||
Reference in New Issue
Block a user