Changeset 12632 for trunk/wp-admin/ms-edit.php
- Timestamp:
- 01/07/2010 04:27:46 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/ms-edit.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/ms-edit.php
r12624 r12632 11 11 do_action('wpmuadminedit', ''); 12 12 13 if( isset($_GET[ 'id' ]) ) { 14 $id = intval( $_GET[ 'id' ] ); 15 } elseif( isset($_POST[ 'id' ]) ) { 16 $id = intval( $_POST[ 'id' ] ); 13 if( isset($_GET[ 'id' ]) ) { 14 $id = intval( $_GET[ 'id' ] ); 15 } elseif( isset($_POST[ 'id' ]) ) { 16 $id = intval( $_POST[ 'id' ] ); 17 17 } 18 18 … … 144 144 if ( empty($domain) || empty($email)) 145 145 wp_die( __('Missing blog address or email address.') ); 146 if( !is_email( $email ) ) 147 wp_die( __('Invalid email address') ); 146 if( !is_email( $email ) ) 147 wp_die( __('Invalid email address') ); 148 148 149 149 if( constant( 'VHOST' ) == 'yes' ) { … … 219 219 update_option( 'home', 'http://' . $_POST['blog']['domain'] . $_POST['blog']['path'] ); 220 220 } 221 221 222 222 $wp_rewrite->flush_rules(); 223 223 … … 318 318 $blogfunction = 'all_spam'; 319 319 update_blog_status( $val, "spam", '1', 0 ); 320 set_time_limit(60); 320 set_time_limit(60); 321 321 } elseif ( isset($_POST['allblog_notspam']) ) { 322 322 $blogfunction = 'all_notspam'; 323 323 update_blog_status( $val, "spam", '0', 0 ); 324 set_time_limit(60); 324 set_time_limit(60); 325 325 } 326 326 } … … 432 432 <?php wp_nonce_field( $_GET['action2'] ) ?> 433 433 <p><?php echo wp_specialchars( stripslashes($_GET['msg']) ); ?></p> 434 <p class="submit"><input class="button" type='submit' value='<?php _e("Confirm"); ?>' /></p> 434 <p class="submit"><input class="button" type='submit' value='<?php _e("Confirm"); ?>' /></p> 435 435 </form> 436 436 </body>
Note: See TracChangeset
for help on using the changeset viewer.