Changeset 39323 for trunk/src/wp-login.php
- Timestamp:
- 11/21/2016 01:21:01 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-login.php
r38814 r39323 788 788 if ( empty( $_COOKIE[ LOGGED_IN_COOKIE ] ) ) { 789 789 if ( headers_sent() ) { 790 /* translators: 1: Browser cookie documentation URL, 2: Support forums URL */ 790 791 $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>.' ), 791 792 __( 'https://codex.wordpress.org/Cookies' ), __( 'https://wordpress.org/support/' ) ) ); 792 793 } elseif ( isset( $_POST['testcookie'] ) && empty( $_COOKIE[ TEST_COOKIE ] ) ) { 793 794 // If cookies are disabled we can't log in even with a valid user+pass 795 /* translators: 1: Browser cookie documentation URL */ 794 796 $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.' ), 795 797 __( 'https://codex.wordpress.org/Cookies' ) ) );
Note: See TracChangeset
for help on using the changeset viewer.