Changeset 32116 for trunk/src/wp-login.php
- Timestamp:
- 04/12/2015 09:28:58 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-login.php
r31871 r32116 798 798 if ( headers_sent() ) { 799 799 $user = new WP_Error( 'test_cookie', sprintf( __( '<strong>ERROR</strong>: Cookies are blocked due to unexpected output. For help, please see <a href="%1$s">this documentation</a> or try the <a href="%2$s">support forums</a>.' ), 800 __( 'http ://codex.wordpress.org/Cookies' ), __( 'https://wordpress.org/support/' ) ) );800 __( 'https://codex.wordpress.org/Cookies' ), __( 'https://wordpress.org/support/' ) ) ); 801 801 } elseif ( isset( $_POST['testcookie'] ) && empty( $_COOKIE[ TEST_COOKIE ] ) ) { 802 802 // If cookies are disabled we can't log in even with a valid user+pass 803 803 $user = new WP_Error( 'test_cookie', sprintf( __( '<strong>ERROR</strong>: Cookies are blocked or not supported by your browser. You must <a href="%s">enable cookies</a> to use WordPress.' ), 804 __( 'http ://codex.wordpress.org/Cookies' ) ) );804 __( 'https://codex.wordpress.org/Cookies' ) ) ); 805 805 } 806 806 }
Note: See TracChangeset
for help on using the changeset viewer.