WordPress.org

WordPress MU


Ignore:
Timestamp:
01/22/07 18:52:20 (7 years ago)
Author:
donncha
Message:

Removed autocomplete_css() because it possibly conflicts with advanced editor stuff:
http://trac.mu.wordpress.org/ticket/213
http://trac.mu.wordpress.org/ticket/176
http://trac.mu.wordpress.org/ticket/217

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/wpmu-edit.php

    r844 r860  
    2525        } 
    2626        if( $_POST[ 'banned_email_domains' ] != '' ) { 
    27             update_site_option( "banned_email_domains", split( ' ', $_POST[ 'banned_email_domains' ] ) ); 
     27            update_site_option( "banned_email_domains", split( ' ', stripslashes($_POST[ 'banned_email_domains' ]) ) ); 
    2828        } else { 
    2929            update_site_option( "banned_email_domains", '' ); 
     
    213213                    $_POST[ 'pass1' ] = $_POST[ 'pass2' ] = $pass; 
    214214                    $_POST[ 'email' ] = $userdata->user_email; 
     215                    $_POST[ 'rich_editing' ] = $userdata->rich_editing; 
    215216                    edit_user( $userid ); 
    216217                    if( $cap == null ) 
     
    241242        if( $id != '0' && $id != '1' ) 
    242243            wpmu_delete_blog( $id, true ); 
    243         wp_redirect( add_query_arg( "updated", "blogdeleted", $_POST[ 'ref' ] ) ); 
     244        wp_redirect( add_query_arg( "updated", "blogdeleted", $_SERVER[ 'HTTP_REFERER' ] ) ); 
    244245        die(); 
    245246    break; 
     
    255256                        wpmu_delete_blog( $val, true ); 
    256257                    } elseif( $_POST[ 'blogfunction' ] == 'spam' ) { 
    257                         update_blog_status( $val, "spam", '1' ); 
     258                        update_blog_status( $val, "spam", '1', 0 ); 
     259                        set_time_limit(60);  
    258260                    } 
    259261                } 
Note: See TracChangeset for help on using the changeset viewer.