X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/8f374b7233bc2815ccc387e448d208c5434eb961..53f4633144ed68c8b8fb5861f992b5489894a940:/wp-admin/tools.php diff --git a/wp-admin/tools.php b/wp-admin/tools.php index a036f285..726c55b5 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'); @@ -25,29 +25,72 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

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

' . - '

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

' . - '

' . __('Support Forums') . '

' + '

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

' . + '

' . __('Support Forums') . '

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

+

-
-

-

- -

-

-

- +
+

+

+

+ + +
+

+

+

+ +

+ + +

+ + + +

+

+ +

+ +

+ +
cap->manage_terms) || current_user_can($tags->cap->manage_terms) ) : ?> -
+

Categories and Tags Converter available from the Import screen.'), 'import.php' ); ?>

@@ -64,8 +107,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' ); ?>