Changeset 47198 for trunk/src/wp-admin/network.php
- Timestamp:
- 02/06/2020 06:31:22 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network.php
r45926 r47198 14 14 15 15 /** WordPress Administration Bootstrap */ 16 require_once ( dirname( __FILE__ ) . '/admin.php' );16 require_once __DIR__ . '/admin.php'; 17 17 18 18 if ( ! current_user_can( 'setup_network' ) ) { … … 31 31 } 32 32 33 require_once ( dirname( __FILE__ ) . '/includes/network.php' );33 require_once __DIR__ . '/includes/network.php'; 34 34 35 35 // We need to create references to ms global tables to enable Network. … … 82 82 ); 83 83 84 include( ABSPATH . 'wp-admin/admin-header.php' );84 require_once ABSPATH . 'wp-admin/admin-header.php'; 85 85 ?> 86 86 <div class="wrap"> … … 92 92 check_admin_referer( 'install-network-1' ); 93 93 94 require_once ( ABSPATH . 'wp-admin/includes/upgrade.php' );94 require_once ABSPATH . 'wp-admin/includes/upgrade.php'; 95 95 // Create network tables. 96 96 install_network(); … … 119 119 </div> 120 120 121 <?php include( ABSPATH . 'wp-admin/admin-footer.php' ); ?>121 <?php require_once ABSPATH . 'wp-admin/admin-footer.php'; ?>
Note: See TracChangeset
for help on using the changeset viewer.