mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Send nocache_headers() in the admin earlier, on the DB upgrade page. Prevents a potential redirect loop reproduced in Chrome from heavy caching of headers. props mdawaffe. see #21745.
git-svn-id: https://develop.svn.wordpress.org/trunk@21913 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -17,6 +17,8 @@ define( 'WP_INSTALLING', true );
|
||||
/** Load WordPress Bootstrap */
|
||||
require( '../wp-load.php' );
|
||||
|
||||
nocache_headers();
|
||||
|
||||
timer_start();
|
||||
require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user