mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Use HTTPS URLs for codex.wordpress.org.
see #27115. git-svn-id: https://develop.svn.wordpress.org/trunk@32116 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+2
-2
@@ -797,11 +797,11 @@ default:
|
||||
if ( empty( $_COOKIE[ LOGGED_IN_COOKIE ] ) ) {
|
||||
if ( headers_sent() ) {
|
||||
$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>.' ),
|
||||
__( 'http://codex.wordpress.org/Cookies' ), __( 'https://wordpress.org/support/' ) ) );
|
||||
__( 'https://codex.wordpress.org/Cookies' ), __( 'https://wordpress.org/support/' ) ) );
|
||||
} elseif ( isset( $_POST['testcookie'] ) && empty( $_COOKIE[ TEST_COOKIE ] ) ) {
|
||||
// If cookies are disabled we can't log in even with a valid user+pass
|
||||
$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.' ),
|
||||
__( 'http://codex.wordpress.org/Cookies' ) ) );
|
||||
__( 'https://codex.wordpress.org/Cookies' ) ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user