Make WordPress Core


Ignore:
Timestamp:
01/04/2008 07:36:34 PM (17 years ago)
Author:
ryan
Message:

Unused var cleanup. Props DD32. see #5418

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/pluggable.php

    r6531 r6551  
    292292
    293293if ( !function_exists('wp_login') ) :
    294 function wp_login($username, $password, $deprecated = false) {
    295     global $wpdb, $error;
     294function wp_login($username, $password, $deprecated = '') {
     295    global $error;
    296296
    297297    $username = sanitize_user($username);
     
    803803if ( !function_exists('wp_setcookie') ) :
    804804function wp_setcookie($username, $password = '', $already_md5 = false, $home = '', $siteurl = '', $remember = false) {
     805    _deprecated_function( __FUNCTION__, '2.4', 'wp_set_auth_cookie()' );
    805806    $user = get_userdatabylogin($username);
    806807    wp_set_auth_cookie($user->ID, $remember);
     
    811812if ( !function_exists('wp_clearcookie') ) :
    812813function wp_clearcookie() {
     814    _deprecated_function( __FUNCTION__, '2.4', 'wp_clear_auth_cookie()' );
    813815    wp_clear_auth_cookie();
    814816}
     
    818820if ( !function_exists('wp_get_cookie_login') ):
    819821function wp_get_cookie_login() {
     822    _deprecated_function( __FUNCTION__, '2.4', '' );
    820823    return false;
    821824}
Note: See TracChangeset for help on using the changeset viewer.