Changeset 38814 for trunk/src/wp-admin/ms-delete-site.php
- Timestamp:
- 10/19/2016 04:46:14 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/ms-delete-site.php
r38633 r38814 19 19 if ( hash_equals( get_option( 'delete_blog_hash' ), $_GET['h'] ) ) { 20 20 wpmu_delete_blog( $wpdb->blogid ); 21 wp_die( sprintf( __( 'Thank you for using %s, your site has been deleted. Happy trails to you until we meet again.' ), $current_site->site_name ) );21 wp_die( sprintf( __( 'Thank you for using %s, your site has been deleted. Happy trails to you until we meet again.' ), get_network()->site_name ) ); 22 22 } else { 23 23 wp_die( __( "I'm sorry, the link you clicked is stale. Please select another option." ) ); … … 71 71 $content = str_replace( '###USERNAME###', $user->user_login, $content ); 72 72 $content = str_replace( '###URL_DELETE###', $url_delete, $content ); 73 $content = str_replace( '###SITE_NAME###', $current_site->site_name, $content );73 $content = str_replace( '###SITE_NAME###', get_network()->site_name, $content ); 74 74 75 75 wp_mail( get_option( 'admin_email' ), "[ " . wp_specialchars_decode( get_option( 'blogname' ) ) . " ] ".__( 'Delete My Site' ), $content ); … … 80 80 <?php } else { 81 81 ?> 82 <p><?php printf( __( 'If you do not want to use your %s site any more, you can delete it using the form below. When you click <strong>Delete My Site Permanently</strong> you will be sent an email with a link in it. Click on this link to delete your site.'), $current_site->site_name); ?></p>82 <p><?php printf( __( 'If you do not want to use your %s site any more, you can delete it using the form below. When you click <strong>Delete My Site Permanently</strong> you will be sent an email with a link in it. Click on this link to delete your site.'), get_network()->site_name); ?></p> 83 83 <p><?php _e( 'Remember, once deleted your site cannot be restored.' ) ?></p> 84 84
Note: See TracChangeset
for help on using the changeset viewer.