mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 21:00:21 +00:00
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:
@@ -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' );
|
||||
|
||||
Reference in New Issue
Block a user