Changeset 47198 for trunk/src/wp-admin/widgets.php
- Timestamp:
- 02/06/2020 06:31:22 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/widgets.php
r47122 r47198 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once ( dirname( __FILE__ ) . '/admin.php' );10 require_once __DIR__ . '/admin.php'; 11 11 12 12 /** WordPress Administration Widgets API */ 13 require_once ( ABSPATH . 'wp-admin/includes/widgets.php' );13 require_once ABSPATH . 'wp-admin/includes/widgets.php'; 14 14 15 15 if ( ! current_user_can( 'edit_theme_options' ) ) { … … 289 289 $key = isset( $_GET['key'] ) ? (int) $_GET['key'] : 0; 290 290 291 require_once ( ABSPATH . 'wp-admin/admin-header.php' ); ?>291 require_once ABSPATH . 'wp-admin/admin-header.php'; ?> 292 292 <div class="wrap"> 293 293 <h1><?php echo esc_html( $title ); ?></h1> … … 367 367 </div> 368 368 <?php 369 require_once ( ABSPATH . 'wp-admin/admin-footer.php' );369 require_once ABSPATH . 'wp-admin/admin-footer.php'; 370 370 exit; 371 371 } … … 380 380 ); 381 381 382 require_once ( ABSPATH . 'wp-admin/admin-header.php' );382 require_once ABSPATH . 'wp-admin/admin-header.php'; 383 383 ?> 384 384 … … 576 576 */ 577 577 do_action( 'sidebar_admin_page' ); 578 require_once ( ABSPATH . 'wp-admin/admin-footer.php' );578 require_once ABSPATH . 'wp-admin/admin-footer.php';
Note: See TracChangeset
for help on using the changeset viewer.