X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/11be15bd505d66a91e2c80062190b13e315a04a9..2329f698283944696a7076258cf816545970bb47:/wp-admin/link-manager.php diff --git a/wp-admin/link-manager.php b/wp-admin/link-manager.php index 3154f8e3..8e12aa3d 100644 --- a/wp-admin/link-manager.php +++ b/wp-admin/link-manager.php @@ -7,7 +7,7 @@ */ /** Load WordPress Administration Bootstrap */ -require_once ('admin.php'); +require_once( dirname( __FILE__ ) . '/admin.php' ); if ( ! current_user_can( 'manage_links' ) ) wp_die( __( 'You do not have sufficient permissions to edit the links for this site.' ) ); @@ -58,10 +58,10 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

' . __('For more information:') . '

' . '

' . __('Documentation on Managing Links') . '

' . - '

' . __('Support Forums') . '

' + '

' . __('Support Forums') . '

' ); -include_once ('./admin-header.php'); +include_once( ABSPATH . 'wp-admin/admin-header.php' ); if ( ! current_user_can('manage_links') ) wp_die(__("You do not have sufficient permissions to edit the links for this site.")); @@ -69,7 +69,6 @@ if ( ! current_user_can('manage_links') ) ?>
-

' . __('Search results for “%s”') . '', esc_html( wp_unslash($_REQUEST['s']) ) ); ?> @@ -97,4 +96,4 @@ if ( isset($_REQUEST['deleted']) ) {