Changeset 6009 for trunk/wp-login.php
- Timestamp:
- 09/02/2007 05:20:37 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-login.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-login.php
r5998 r6009 21 21 } 22 22 23 //Set a cookie now to see if they are supported by the browser. 24 setcookie(TEST_COOKIE, 'WP Cookie check', 0, COOKIEPATH, COOKIE_DOMAIN); 23 25 24 26 // Rather than duplicating this HTML all over the place, we'll stick it in function … … 307 309 308 310 do_action_ref_array('wp_authenticate', array(&$user_login, &$user_pass)); 311 312 // If cookies are disabled we can't log in even with a valid user+pass 313 if ( $_POST && empty($_COOKIE[TEST_COOKIE]) ) 314 $errors['test_cookie'] = __('<strong>ERROR</strong>: WordPress requires Cookies but your browser does not support them or they are blocked.'); 309 315 310 316 if ( $user_login && $user_pass && empty( $errors ) ) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)