Changeset 34912 for trunk/src/wp-admin/network/site-new.php
- Timestamp:
- 10/07/2015 05:11:01 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/site-new.php
r34854 r34912 125 125 wp_unslash( $title ) 126 126 ); 127 wp_mail( get_ network_option( 'admin_email' ), sprintf( __( '[%s] New Site Created' ), $current_site->site_name ), $content_mail, 'From: "Site Admin" <' . get_network_option( 'admin_email' ) . '>' );127 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' ) . '>' ); 128 128 wpmu_welcome_notification( $id, $user_id, $password, $title, array( 'public' => 1 ) ); 129 129 wp_redirect( add_query_arg( array( 'update' => 'added', 'id' => $id ), 'site-new.php' ) ); … … 190 190 <?php 191 191 // Network default. 192 $lang = get_ network_option( 'WPLANG' );192 $lang = get_site_option( 'WPLANG' ); 193 193 194 194 // Use English if the default isn't available.
Note: See TracChangeset
for help on using the changeset viewer.