X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/61343b82c4f0da4c68e4c6373daafff4a81efdd1..256a3b381f63716209b3527d0a14442ae570c283:/wp-admin/tools.php diff --git a/wp-admin/tools.php b/wp-admin/tools.php index 387be903..b55328a7 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'); @@ -29,11 +29,10 @@ get_current_screen()->set_help_sidebar( '

' . __('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' ); ?>