Changeset 1438
- Timestamp:
- 08/25/08 15:09:10 (3 months ago)
- Files:
-
- trunk/wp-admin/wpmu-edit.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-admin/wpmu-edit.php
r1427 r1438 7 7 do_action('wpmuadminedit', ''); 8 8 9 if( $_GET[ 'id' ]) {9 if( isset($_GET[ 'id' ]) ) { 10 10 $id = intval( $_GET[ 'id' ] ); 11 } elseif( $_POST[ 'id' ]) {11 } elseif( isset($_POST[ 'id' ]) ) { 12 12 $id = intval( $_POST[ 'id' ] ); 13 13 } … … 359 359 // Common 360 360 case "confirm": 361 global $wp_locale; 361 $referrer = ( isset($_GET['ref']) ) ? stripslashes($_GET['ref']) : $_SERVER['HTTP_REFERER']; 362 $referrer = clean_url($referrer); 362 363 if( !headers_sent() ){ 363 364 nocache_headers(); … … 371 372 372 373 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 373 <link rel="stylesheet" href="css/install.css" type="text/css" /> 374 <?php if ( ( $wp_locale ) && ('rtl' == $wp_locale->text_direction) ) : ?> 375 <link rel="stylesheet" href="css/install-rtl.css" type="text/css" /> 376 <?php endif; ?> 374 <?php wp_admin_css( 'install', true ); ?> 377 375 </head> 378 376 <body id="error-page"> … … 381 379 <input type='hidden' name='action' value='<?php echo wp_specialchars( $_GET['action2'] ) ?>' /> 382 380 <input type='hidden' name='id' value='<?php echo wp_specialchars( $id ); ?>' /> 383 <input type='hidden' name='ref' value='<?php if( isset( $_GET['ref'] ) ) {echo wp_specialchars( $_GET['ref'] ); } else { echo $_SERVER['HTTP_REFERER']; }?>' />381 <input type='hidden' name='ref' value='<?php echo $referrer; ?>' /> 384 382 <?php wp_nonce_field( $_GET['action2'] ) ?> 385 <p> 386 <?php echo wp_specialchars( $_GET['msg'] ) ?><br /> 387 <input class="button" type='submit' value='<?php _e("Confirm"); ?>' /></p> 383 <p><?php echo wp_specialchars( stripslashes($_GET['msg']) ); ?></p> 384 <p class="submit"><input class="button" type='submit' value='<?php _e("Confirm"); ?>' /></p> 388 385 </form> 389 386 </body>
