X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/5aa86a9053fb0fa15846bb60aac2fb8fdfff524a..7f1521bf193b382565eb753043c161f4cb3fcda7:/wp-admin/tools.php diff --git a/wp-admin/tools.php b/wp-admin/tools.php index 78897277..692fe927 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'); @@ -19,35 +19,78 @@ get_current_screen()->add_help_tab( array( get_current_screen()->add_help_tab( array( 'id' => 'converter', 'title' => __('Categories and Tags Converter'), - 'content' => '

' . __('Categories have hierarchy, meaning that you can nest sub-categories. Tags do not have hierachy and cannot be nested. Sometimes people start out using one on their posts, then later realize that the other would work better for their content.' ) . '

' . - '

' . __( 'The Categories and Tags Converter link on this screen will take you to the Import screen, where that Converter is one of the plugins you can install. Once that plugin is installed, return to this screen and the link will take you to a screen where you can choose to convert tags into categories or vice versa.' ) . '

', + 'content' => '

' . __('Categories have hierarchy, meaning that you can nest sub-categories. Tags do not have hierarchy and cannot be nested. Sometimes people start out using one on their posts, then later realize that the other would work better for their content.' ) . '

' . + '

' . __( 'The Categories and Tags Converter link on this screen will take you to the Import screen, where that Converter is one of the plugins you can install. Once that plugin is installed, the Activate Plugin & Run Importer link will take you to a screen where you can choose to convert tags into categories or vice versa.' ) . '

', ) ); 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,9 +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' ); ?>
+include( ABSPATH . 'wp-admin/admin-footer.php' );