Make WordPress Core


Ignore:
Timestamp:
02/24/2010 07:56:10 PM (15 years ago)
Author:
wpmuguru
Message:

more multisite UX rebranding, See #11644

File:
1 edited

Legend:

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

    r13311 r13379  
    142142
    143143        if ( is_array( $_POST[ 'blog' ] ) == false )
    144             wp_die( "Can't create an empty blog." );
     144            wp_die( "Can't create an empty site." );
    145145        $blog = $_POST['blog'];
    146146        $domain = sanitize_user( str_replace( '/', '', $blog[ 'domain' ] ) );
     
    149149
    150150        if ( empty($domain) || empty($email) )
    151             wp_die( __('Missing blog address or email address.') );
     151            wp_die( __('Missing site address or email address.') );
    152152        if ( !is_email( $email ) )
    153153            wp_die( __('Invalid email address') );
     
    179179            if ( get_user_option( 'primary_blog', $user_id ) == $dashboard_blog->blog_id )
    180180                update_user_option( $user_id, 'primary_blog', $id, true );
    181             $content_mail = sprintf( __( "New blog created by %1s\n\nAddress: http://%2s\nName: %3s"), $current_user->user_login , $newdomain.$path, stripslashes( $title ) );
    182             wp_mail( get_site_option('admin_email'),  sprintf(__('[%s] New Blog Created'), $current_site->site_name), $content_mail, 'From: "Site Admin" <' . get_site_option( 'admin_email' ) . '>' );
     181            $content_mail = sprintf( __( "New site created by %1s\n\nAddress: http://%2s\nName: %3s"), $current_user->user_login , $newdomain.$path, stripslashes( $title ) );
     182            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' ) . '>' );
    183183            wpmu_welcome_notification( $id, $user_id, $password, $title, array( "public" => 1 ) );
    184184            wp_redirect( add_query_arg( array('updated' => 'true', 'action' => 'add-blog'), $_SERVER['HTTP_REFERER'] ) );
     
    440440        <html xmlns="http://www.w3.org/1999/xhtml" <?php if ( function_exists('language_attributes') ) language_attributes(); ?>>
    441441            <head>
    442                 <title><?php _e("WordPress MU &rsaquo; Confirm your action"); ?></title>
     442                <title><?php _e("WordPress &rsaquo; Confirm your action"); ?></title>
    443443
    444444                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     
    499499                $user = new WP_User( $val );
    500500                if ( in_array( $user->user_login, get_site_option( 'site_admins', array( 'admin' ) ) ) )
    501                     wp_die( sprintf( __( 'Warning! User cannot be modified. The user %s is a site admnistrator.' ), $user->user_login ) );
     501                    wp_die( sprintf( __( 'Warning! User cannot be modified. The user %s is a network admnistrator.' ), $user->user_login ) );
    502502                if ( isset($_POST['alluser_spam']) ) {
    503503                    $userfunction = 'all_spam';
Note: See TracChangeset for help on using the changeset viewer.