WordPress.org

Make WordPress Core

Changeset 16306


Ignore:
Timestamp:
11/11/10 16:57:22 (3 years ago)
Author:
ryan
Message:

Whitespace cleanup. Props sorich87. see #14147

Location:
trunk/wp-admin/network
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network/site-info.php

    r16272 r16306  
    3535    if ( isset( $_POST['update_home_url'] ) && $_POST['update_home_url'] == 'update' ) { 
    3636        $blog_address = get_blogaddress_by_domain( $_POST['blog']['domain'], $_POST['blog']['path'] ); 
    37         if ( get_option( 'siteurl' ) !=  $blog_address ) 
     37        if ( get_option( 'siteurl' ) != $blog_address ) 
    3838            update_option( 'siteurl', $blog_address ); 
    3939 
  • trunk/wp-admin/network/site-new.php

    r16284 r16306  
    2424 
    2525    if ( is_array( $_POST['blog'] ) == false ) 
    26         wp_die(  __( 'Can’t create an empty site.' ) ); 
     26        wp_die( __( 'Can’t create an empty site.' ) ); 
    2727    $blog = $_POST['blog']; 
    2828    $domain = ''; 
     
    7373            update_user_option( $user_id, 'primary_blog', $id, true ); 
    7474        $content_mail = sprintf( __( "New site created by %1s\n\nAddress: http://%2s\nName: %3s"), $current_user->user_login , $newdomain . $path, stripslashes( $title ) ); 
    75         wp_mail( get_site_option('admin_email'),  sprintf( __( '[%s] New Site Created' ), $current_site->site_name ), $content_mail, 'From: "Site Admin" <' . get_site_option( 'admin_email' ) . '>' ); 
     75        wp_mail( get_site_option('admin_email'), sprintf( __( '[%s] New Site Created' ), $current_site->site_name ), $content_mail, 'From: "Site Admin" <' . get_site_option( 'admin_email' ) . '>' ); 
    7676        wpmu_welcome_notification( $id, $user_id, $password, $title, array( 'public' => 1 ) ); 
    7777        wp_redirect( add_query_arg( array('update' => 'added'), 'site-new.php' ) ); 
Note: See TracChangeset for help on using the changeset viewer.