File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 44 *
55 * @global string $wp_version
66 */
7- $ wp_version = '5.0-alpha-42891 ' ;
7+ $ wp_version = '5.0-alpha-42892 ' ;
88
99/**
1010 * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
Original file line number Diff line number Diff line change 1414// Redirect to https login if forced to use SSL
1515if ( force_ssl_admin () && ! is_ssl () ) {
1616 if ( 0 === strpos ( $ _SERVER ['REQUEST_URI ' ], 'http ' ) ) {
17- wp_redirect ( set_url_scheme ( $ _SERVER ['REQUEST_URI ' ], 'https ' ) );
17+ wp_safe_redirect ( set_url_scheme ( $ _SERVER ['REQUEST_URI ' ], 'https ' ) );
1818 exit ();
1919 } else {
20- wp_redirect ( 'https:// ' . $ _SERVER ['HTTP_HOST ' ] . $ _SERVER ['REQUEST_URI ' ] );
20+ wp_safe_redirect ( 'https:// ' . $ _SERVER ['HTTP_HOST ' ] . $ _SERVER ['REQUEST_URI ' ] );
2121 exit ();
2222 }
2323}
You can’t perform that action at this time.
0 commit comments