WordPress.org

Make WordPress Core

Changeset 6009 for trunk/wp-settings.php


Ignore:
Timestamp:
09/02/07 17:20:37 (10 years ago)
Author:
westi
Message:

Inform the user when cookies are disabled and login fails. Fixed #2039 props tellyworth.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r5892 r6009  
    207207if ( !defined('PASS_COOKIE') ) 
    208208    define('PASS_COOKIE', 'wordpresspass_'. COOKIEHASH); 
     209if ( !defined('TEST_COOKIE') ) 
     210    define('TEST_COOKIE', 'wordpress_test_cookie'); 
    209211if ( !defined('COOKIEPATH') ) 
    210212    define('COOKIEPATH', preg_replace('|https?://[^/]+|i', '', get_option('home') . '/' ) ); 
Note: See TracChangeset for help on using the changeset viewer.