Changeset 47198 for trunk/src/wp-admin/link-manager.php
- Timestamp:
- 02/06/2020 06:31:22 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/link-manager.php
r47122 r47198 8 8 9 9 /** Load WordPress Administration Bootstrap */ 10 require_once ( dirname( __FILE__ ) . '/admin.php' );10 require_once __DIR__ . '/admin.php'; 11 11 if ( ! current_user_can( 'manage_links' ) ) { 12 12 wp_die( __( 'Sorry, you are not allowed to edit the links for this site.' ) ); … … 86 86 ); 87 87 88 include_once( ABSPATH . 'wp-admin/admin-header.php' );88 require_once ABSPATH . 'wp-admin/admin-header.php'; 89 89 90 90 if ( ! current_user_can( 'manage_links' ) ) { … … 135 135 136 136 <?php 137 include( ABSPATH . 'wp-admin/admin-footer.php' );137 require_once ABSPATH . 'wp-admin/admin-footer.php';
Note: See TracChangeset
for help on using the changeset viewer.