Changeset 38824
- Timestamp:
- 10/19/2016 06:07:09 AM (8 years ago)
- Location:
- trunk/src/wp-admin/network
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/site-info.php
r38721 r38824 38 38 } 39 39 40 $details = get_ blog_details( $id );40 $details = get_site( $id ); 41 41 if ( ! $details ) { 42 42 wp_die( __( 'The requested site does not exist.' ) ); … … 85 85 } 86 86 87 $existing_details = get_ blog_details( $id, false);87 $existing_details = get_site( $id ); 88 88 $blog_data_checkboxes = array( 'public', 'archived', 'spam', 'mature', 'deleted' ); 89 89 foreach ( $blog_data_checkboxes as $c ) { … … 98 98 99 99 // Maybe update home and siteurl options. 100 $new_details = get_ blog_details( $id, false);100 $new_details = get_site( $id ); 101 101 102 102 $old_home_url = trailingslashit( esc_url( get_option( 'home' ) ) ); -
trunk/src/wp-admin/network/site-settings.php
r38721 r38824 36 36 wp_die( __('Invalid site ID.') ); 37 37 38 $details = get_ blog_details( $id );38 $details = get_site( $id ); 39 39 if ( ! $details ) { 40 40 wp_die( __( 'The requested site does not exist.' ) ); -
trunk/src/wp-admin/network/site-themes.php
r38721 r38824 59 59 $wp_list_table->prepare_items(); 60 60 61 $details = get_ blog_details( $id );61 $details = get_site( $id ); 62 62 if ( ! $details ) { 63 63 wp_die( __( 'The requested site does not exist.' ) ); -
trunk/src/wp-admin/network/site-users.php
r38721 r38824 52 52 wp_die( __('Invalid site ID.') ); 53 53 54 $details = get_ blog_details( $id );54 $details = get_site( $id ); 55 55 if ( ! $details ) { 56 56 wp_die( __( 'The requested site does not exist.' ) ); -
trunk/src/wp-admin/network/sites.php
r38814 r38824 92 92 } 93 93 94 $site_details = get_ blog_details( $id );94 $site_details = get_site( $id ); 95 95 $site_address = untrailingslashit( $site_details->domain . $site_details->path ); 96 96
Note: See TracChangeset
for help on using the changeset viewer.