Changes in trunk/wp-admin/ms-edit.php [14928:15179]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/ms-edit.php
r14928 r15179 168 168 169 169 if ( is_subdomain_install() ) { 170 $newdomain = $domain . '.' . $current_site->domain;170 $newdomain = $domain . '.' . preg_replace( '|^www\.|', '', $current_site->domain ); 171 171 $path = $base; 172 172 } else { … … 443 443 $themes = get_themes(); 444 444 reset( $themes ); 445 $allowed_themes = array(); 445 446 foreach ( (array) $themes as $key => $theme ) { 446 447 if ( $_POST['theme'][ esc_html( $theme['Stylesheet'] ) ] == 'enabled' ) … … 468 469 469 470 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 470 <?php wp_admin_css( 'install', true ); ?> 471 <?php 472 wp_admin_css( 'install', true ); 473 wp_admin_css( 'ie', true ); 474 ?> 471 475 </head> 472 <body id="error-page">476 <body> 473 477 <h1 id="logo"><img alt="WordPress" src="<?php echo esc_attr( admin_url( 'images/wordpress-logo.png' ) ); ?>" /></h1> 474 478 <form action="ms-edit.php?action=<?php echo esc_attr( $_GET['action2'] ) ?>" method="post"> … … 569 573 wp_die( __( 'You do not have permission to access this page.' ) ); 570 574 571 if ( is_array( $_POST['blog'] ) && ! empty( $_POST['blog'] ) ) {575 if ( ! empty( $_POST['blog'] ) && is_array( $_POST['blog'] ) ) { 572 576 foreach ( $_POST['blog'] as $id => $users ) { 573 577 foreach ( $users as $blogid => $user_id ) {
Note: See TracChangeset
for help on using the changeset viewer.