Changeset 18750 for trunk/wp-admin/network/site-new.php
- Timestamp:
- 09/22/2011 07:17:27 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/network/site-new.php
r18473 r18750 83 83 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' ) . '>' ); 84 84 wpmu_welcome_notification( $id, $user_id, $password, $title, array( 'public' => 1 ) ); 85 wp_redirect( add_query_arg( array( 'update' => 'added'), 'site-new.php' ) );85 wp_redirect( add_query_arg( array( 'update' => 'added', 'id' => $id ), 'site-new.php' ) ); 86 86 exit; 87 87 } else { … … 93 93 $messages = array(); 94 94 if ( 'added' == $_GET['update'] ) 95 $messages[] = __('Site added.');95 $messages[] = sprintf( __( 'Site added. <a href="%1$s">Visit Dashboard</a> or <a href="%2$s">Edit Site</a>' ), esc_url( get_admin_url( absint( $_GET['id'] ) ) ), network_admin_url( 'site-info.php?id=' . absint( $_GET['id'] ) ) ); 96 96 } 97 97
Note: See TracChangeset
for help on using the changeset viewer.