Ticket #590: wp25_confirm_message.patch

File wp25_confirm_message.patch, 1.3 kB (added by momo360modena, 5 months ago)
  • .

    old new  
    349349        // Common 
    350350        case "confirm": 
    351351                global $wp_locale; 
     352                if( !headers_sent() ){ 
     353                        nocache_headers(); 
     354                        header( 'Content-Type: text/html; charset=utf-8' ); 
     355                } 
    352356                ?> 
    353357                <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    354358                <html xmlns="http://www.w3.org/1999/xhtml" <?php if ( function_exists('language_attributes') ) language_attributes(); ?>> 
     
    361365                                        <link rel="stylesheet" href="css/install-rtl.css" type="text/css" /> 
    362366                                <?php endif; ?> 
    363367                        </head> 
    364                         <body
     368                        <body id="error-page"
    365369                                <h1 id="logo"><img alt="WordPress" src="images/wordpress-logo.png" /></h1> 
    366370                                <form action='wpmu-edit.php?action=<?php echo wp_specialchars( $_GET[ 'action2' ] ) ?>' method='post'> 
    367371                                        <input type='hidden' name='action' value='<?php echo wp_specialchars( $_GET['action2'] ) ?>' /> 
     
    370374                                        <?php wp_nonce_field( $_GET['action2'] ) ?> 
    371375                                        <p>                                              
    372376                                                <?php echo wp_specialchars( $_GET['msg'] ) ?><br /> 
    373                                                 <input type='submit' value='<?php _e("Confirm"); ?>' /></p>                                    
     377                                                <input class="button" type='submit' value='<?php _e("Confirm"); ?>' /></p>                                     
    374378                                </form> 
    375379                        </body> 
    376380                </html>