Changeset 6551 for trunk/wp-includes/pluggable.php
- Timestamp:
- 01/04/2008 07:36:34 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/pluggable.php
r6531 r6551 292 292 293 293 if ( !function_exists('wp_login') ) : 294 function wp_login($username, $password, $deprecated = false) {295 global $ wpdb, $error;294 function wp_login($username, $password, $deprecated = '') { 295 global $error; 296 296 297 297 $username = sanitize_user($username); … … 803 803 if ( !function_exists('wp_setcookie') ) : 804 804 function wp_setcookie($username, $password = '', $already_md5 = false, $home = '', $siteurl = '', $remember = false) { 805 _deprecated_function( __FUNCTION__, '2.4', 'wp_set_auth_cookie()' ); 805 806 $user = get_userdatabylogin($username); 806 807 wp_set_auth_cookie($user->ID, $remember); … … 811 812 if ( !function_exists('wp_clearcookie') ) : 812 813 function wp_clearcookie() { 814 _deprecated_function( __FUNCTION__, '2.4', 'wp_clear_auth_cookie()' ); 813 815 wp_clear_auth_cookie(); 814 816 } … … 818 820 if ( !function_exists('wp_get_cookie_login') ): 819 821 function wp_get_cookie_login() { 822 _deprecated_function( __FUNCTION__, '2.4', '' ); 820 823 return false; 821 824 }
Note: See TracChangeset
for help on using the changeset viewer.