X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/61343b82c4f0da4c68e4c6373daafff4a81efdd1..refs/tags/wordpress-4.4:/wp-admin/link-manager.php diff --git a/wp-admin/link-manager.php b/wp-admin/link-manager.php index 3154f8e3..5cf80cdf 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.' ) ); @@ -57,11 +57,15 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '
' . __('For more information:') . '
' . - '' . __('Documentation on Managing Links') . '
' . - '' . __('Support Forums') . '
' + '' . __('Documentation on Managing Links') . '
' . + '' . __('Support Forums') . '
' ); -include_once ('./admin-header.php'); +get_current_screen()->set_screen_reader_content( array( + 'heading_list' => __( 'Links list' ), +) ); + +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,15 +73,14 @@ if ( ! current_user_can('manage_links') ) ?>