Changeset 47198 for trunk/src/wp-admin/network/sites.php
- Timestamp:
- 02/06/2020 06:31:22 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/sites.php
r46384 r47198 9 9 10 10 /** Load WordPress Administration Bootstrap */ 11 require_once ( dirname( __FILE__ ) . '/admin.php' );11 require_once __DIR__ . '/admin.php'; 12 12 13 13 if ( ! current_user_can( 'manage_sites' ) ) { … … 109 109 $site_address = untrailingslashit( $site_details->domain . $site_details->path ); 110 110 111 require_once ( ABSPATH . 'wp-admin/admin-header.php' );111 require_once ABSPATH . 'wp-admin/admin-header.php'; 112 112 ?> 113 113 <div class="wrap"> … … 123 123 </div> 124 124 <?php 125 require_once ( ABSPATH . 'wp-admin/admin-footer.php' );125 require_once ABSPATH . 'wp-admin/admin-footer.php'; 126 126 exit(); 127 127 } elseif ( array_key_exists( $_GET['action'], $manage_actions ) ) { … … 185 185 switch ( $doaction ) { 186 186 case 'delete': 187 require_once ( ABSPATH . 'wp-admin/admin-header.php' );187 require_once ABSPATH . 'wp-admin/admin-header.php'; 188 188 ?> 189 189 <div class="wrap"> … … 210 210 </div> 211 211 <?php 212 require_once ( ABSPATH . 'wp-admin/admin-footer.php' );212 require_once ABSPATH . 'wp-admin/admin-footer.php'; 213 213 exit(); 214 214 break; … … 355 355 $wp_list_table->prepare_items(); 356 356 357 require_once ( ABSPATH . 'wp-admin/admin-header.php' );357 require_once ABSPATH . 'wp-admin/admin-header.php'; 358 358 ?> 359 359 … … 389 389 <?php 390 390 391 require_once ( ABSPATH . 'wp-admin/admin-footer.php' ); ?>391 require_once ABSPATH . 'wp-admin/admin-footer.php'; ?>
Note: See TracChangeset
for help on using the changeset viewer.