Send X-Frame-Options: SAMEORIGIN for admin and login pages. see #12293

git-svn-id: https://develop.svn.wordpress.org/trunk@17826 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2011-05-06 21:28:53 +00:00
parent 868ff9bcfa
commit 535ced5186
3 changed files with 16 additions and 1 deletions
+2 -1
View File
@@ -368,7 +368,8 @@ if ( SITECOOKIEPATH != COOKIEPATH )
setcookie(TEST_COOKIE, 'WP Cookie check', 0, SITECOOKIEPATH, COOKIE_DOMAIN);
// allow plugins to override the default actions, and to add extra actions if they want
do_action('login_form_' . $action);
do_action( 'login_form' );
do_action( 'login_form_' . $action );
$http_post = ('POST' == $_SERVER['REQUEST_METHOD']);
switch ($action) {