Changeset 13093 for trunk/wp-includes/pluggable.php
- Timestamp:
- 02/13/2010 06:39:51 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/pluggable.php
r13080 r13093 1637 1637 if ( !function_exists('wp_setcookie') ) : 1638 1638 /** 1639 * Sets a cookie for a user who just logged in. 1639 * Sets a cookie for a user who just logged in. This function is deprecated. 1640 1640 * 1641 1641 * @since 1.5 1642 * @deprecated 2.5 1642 1643 * @deprecated Use wp_set_auth_cookie() 1643 1644 * @see wp_set_auth_cookie() … … 1659 1660 if ( !function_exists('wp_clearcookie') ) : 1660 1661 /** 1661 * Clears the authentication cookie, logging the user out. 1662 * Clears the authentication cookie, logging the user out. This function is deprecated. 1662 1663 * 1663 1664 * @since 1.5 1665 * @deprecated 2.5 1664 1666 * @deprecated Use wp_clear_auth_cookie() 1665 1667 * @see wp_clear_auth_cookie() … … 1673 1675 if ( !function_exists('wp_get_cookie_login') ): 1674 1676 /** 1675 * Gets the user cookie login. 1677 * Gets the user cookie login. This function is deprecated. 1676 1678 * 1677 1679 * This function is deprecated and should no longer be extended as it won't be … … 1679 1681 * 1680 1682 * @since 2.0.3 1683 * @deprecated 2.5 1681 1684 * @deprecated No alternative 1682 1685 * … … 1684 1687 */ 1685 1688 function wp_get_cookie_login() { 1686 _deprecated_function( __FUNCTION__, '2.5' , '');1689 _deprecated_function( __FUNCTION__, '2.5' ); 1687 1690 return false; 1688 1691 } … … 1691 1694 if ( !function_exists('wp_login') ) : 1692 1695 /** 1693 * Checks a users login information and logs them in if it checks out. 1696 * Checks a users login information and logs them in if it checks out. This function is deprecated. 1694 1697 * 1695 1698 * Use the global $error to get the reason why the login failed. If the username … … 1710 1713 */ 1711 1714 function wp_login($username, $password, $deprecated = '') { 1715 _deprecated_function( __FUNCTION__, '2.5', 'wp_signon()' ); 1712 1716 global $error; 1713 1717
Note: See TracChangeset
for help on using the changeset viewer.