Send nocache_headers() on installation screens and when redirecting to them.

fixes #29248.

git-svn-id: https://develop.svn.wordpress.org/trunk@29599 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2014-08-25 17:39:46 +00:00
parent 87bf7ef30c
commit feb1b12df1
3 changed files with 10 additions and 1 deletions
+2
View File
@@ -34,6 +34,8 @@ require( ABSPATH . 'wp-settings.php' );
require( ABSPATH . 'wp-admin/includes/upgrade.php' );
nocache_headers();
// Support wp-config-sample.php one level up, for the develop repo.
if ( file_exists( ABSPATH . 'wp-config-sample.php' ) )
$config_file = file( ABSPATH . 'wp-config-sample.php' );