diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-04-17 15:38:38 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-04-17 15:38:38 +0000 |
commit | 894cdecc4c9bcf366871c8e428861548ef806492 (patch) | |
tree | dc97e21ce13b0f44601778cb70799c858feac0c7 | |
parent | aa4400ef99f78686c0294928ad0c5541ed6ff351 (diff) | |
download | wordpress-mu-894cdecc4c9bcf366871c8e428861548ef806492.tar.gz wordpress-mu-894cdecc4c9bcf366871c8e428861548ef806492.tar.xz wordpress-mu-894cdecc4c9bcf366871c8e428861548ef806492.zip |
Minor change for 2.5 update, props momo360modena, fixes #590
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1241 7be80a69-a1ef-0310-a953-fb0f7c49ff36
-rw-r--r-- | wp-admin/wpmu-edit.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/wp-admin/wpmu-edit.php b/wp-admin/wpmu-edit.php index ff5e720..e138c98 100644 --- a/wp-admin/wpmu-edit.php +++ b/wp-admin/wpmu-edit.php @@ -349,6 +349,10 @@ switch( $_GET['action'] ) { // Common case "confirm": global $wp_locale; + if( !headers_sent() ){ + nocache_headers(); + header( 'Content-Type: text/html; charset=utf-8' ); + } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" <?php if ( function_exists('language_attributes') ) language_attributes(); ?>> @@ -361,7 +365,7 @@ switch( $_GET['action'] ) { <link rel="stylesheet" href="css/install-rtl.css" type="text/css" /> <?php endif; ?> </head> - <body> + <body id="error-page"> <h1 id="logo"><img alt="WordPress" src="images/wordpress-logo.png" /></h1> <form action='wpmu-edit.php?action=<?php echo wp_specialchars( $_GET[ 'action2' ] ) ?>' method='post'> <input type='hidden' name='action' value='<?php echo wp_specialchars( $_GET['action2'] ) ?>' /> @@ -370,7 +374,7 @@ switch( $_GET['action'] ) { <?php wp_nonce_field( $_GET['action2'] ) ?> <p> <?php echo wp_specialchars( $_GET['msg'] ) ?><br /> - <input type='submit' value='<?php _e("Confirm"); ?>' /></p> + <input class="button" type='submit' value='<?php _e("Confirm"); ?>' /></p> </form> </body> </html> |