X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/11be15bd505d66a91e2c80062190b13e315a04a9..245e789b234afa4525862e7a6e5e3c2e7a52ef20:/wp-admin/tools.php diff --git a/wp-admin/tools.php b/wp-admin/tools.php index 387be903..afc65d90 100644 --- a/wp-admin/tools.php +++ b/wp-admin/tools.php @@ -7,7 +7,7 @@ */ /** WordPress Administration Bootstrap */ -require_once('./admin.php'); +require_once( dirname( __FILE__ ) . '/admin.php' ); $title = __('Tools'); @@ -26,14 +26,13 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

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

' . '

' . __('Documentation on Tools') . '

' . - '

' . __('Support Forums') . '

' + '

' . __('Support Forums') . '

' ); -require_once('./admin-header.php'); +require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?>
-

@@ -64,8 +63,13 @@ if ( current_user_can($cats->cap->manage_terms) || current_user_can($tags->cap-> endif; endif; +/** + * Fires at the end of the Tools Administration screen. + * + * @since 2.8.0 + */ do_action( 'tool_box' ); ?>