From 480a7cee6b52fc2ef2a7dc624b65fbb0786370c1 Mon Sep 17 00:00:00 2001 From: Daryl Koopersmith Date: Mon, 28 Nov 2011 16:38:13 +0000 Subject: [PATCH] Update help content for import page. props Ipstenu, see #19020. git-svn-id: https://develop.svn.wordpress.org/trunk@19461 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/import.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/wp-admin/import.php b/wp-admin/import.php index 41306ba14b..d107a34700 100644 --- a/wp-admin/import.php +++ b/wp-admin/import.php @@ -16,10 +16,13 @@ if ( !current_user_can('import') ) $title = __('Import'); -add_contextual_help($current_screen, - '

' . __('This screen lists links to plugins to import data from blogging/content management platforms. Choose the platform you want to import from, and click Install Now when you are prompted in the popup window. If your platform is not listed, click the link to search the plugin directory for other importer plugins to see if there is one for your platform.') . '

' . - '

' . __('In previous versions of WordPress, all the importers were built-in, but they have been turned into plugins as of version 3.0 since most people only use them once or infrequently.') . '

' -); +get_current_screen()->add_help_tab( array( + 'id' => 'import', + 'title' => __('Import'), + 'content' => '

' . __('This screen lists links to plugins to import data from blogging/content management platforms. Choose the platform you want to import from, and click Install Now when you are prompted in the popup window. If your platform is not listed, click the link to search the plugin directory for other importer plugins to see if there is one for your platform.') . '

' . + '

' . __('In previous versions of WordPress, all importers were built-in. They have been turned into plugins since most people only use them once or infrequently.') . '

', +) ); + get_current_screen()->set_help_sidebar( '

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

' .