From f762020c74014fb9caeff102d7145bb830184d95 Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 26 May 2010 21:32:30 +0000 Subject: [PATCH] Help cleanup. Props duck_. see #13467 git-svn-id: http://svn.automattic.com/wordpress/trunk@14965 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-link-categories.php | 11 +++-------- wp-admin/edit-link-form.php | 11 +++-------- wp-admin/link-manager.php | 15 ++++++--------- wp-admin/plugin-editor.php | 2 +- 4 files changed, 13 insertions(+), 26 deletions(-) diff --git a/wp-admin/edit-link-categories.php b/wp-admin/edit-link-categories.php index cefc2459c..2fcbafe5a 100644 --- a/wp-admin/edit-link-categories.php +++ b/wp-admin/edit-link-categories.php @@ -53,14 +53,9 @@ if ( current_user_can('manage_categories') ) add_contextual_help($current_screen, '

' . __('You can create groups of links by using link categories. Link category names must be unique and link categories are separate from the categories you use for posts.') . '

' . '

' . __('You can delete link categories, but that action does not delete the links within the category. Instead, it moves them to the default link category.') . '

' . -'

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

-' + '

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

' . + '

' . sprintf(__('Link Categories Documentation'), 'http://codex.wordpress.org/Links_Link_Categories_SubPanel') . '

' . + '

' . sprintf(__('Support Forums'), 'http://wordpress.org/support/') . '

' ); require_once ('admin-header.php'); diff --git a/wp-admin/edit-link-form.php b/wp-admin/edit-link-form.php index 761c6c831..e333dce9d 100644 --- a/wp-admin/edit-link-form.php +++ b/wp-admin/edit-link-form.php @@ -40,14 +40,9 @@ do_action('do_meta_boxes', 'link', 'side', $link); add_contextual_help($current_screen, '

' . __('You can add or edit links on this screen by entering information in each of the boxes. Only the link\'s web address and name (the text you want to display on your site as the link) are required fields.') . '

' . '

' . __('The boxes for link name, web address, and description have fixed positions, while the others may be repositioned using drag and drop. You can also hide boxes you don\'t use in the Screen Options tab, or minimize boxes by clicking on the title bar of the box.') . '

' . '

' . __( sprintf('XFN stands for XHTML Friends Network, which is optional. WordPress allows the generation of XFN attributes to show how you are related to the authors/owners of site to which you are linking.', 'http://gmpg.org/xfn/' ) ) . '

' . -'

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

-' + '

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

' . + '

' . sprintf(__('Creating Links Documentation'), 'http://codex.wordpress.org/Links_Add_New_SubPanel') . '

' . + '

' . sprintf(__('Support Forums'), 'http://wordpress.org/support/') . '

' ); require_once ('admin-header.php'); diff --git a/wp-admin/link-manager.php b/wp-admin/link-manager.php index 5efec804b..035f5d76a 100644 --- a/wp-admin/link-manager.php +++ b/wp-admin/link-manager.php @@ -44,17 +44,14 @@ if ( empty($order_by) ) $title = __('Links'); $this_file = $parent_file = 'link-manager.php'; -add_contextual_help( $current_screen, '

' . __('You can add links here to be displayed on your site, usually using Widgets [link to wp-admin/widgets.php]. By default, links to several sites in WordPress community are included as examples') . '

' . +add_contextual_help( $current_screen, '

' . sprintf(__('You can add links here to be displayed on your site, usually using Widgets. By default, links to several sites in WordPress community are included as examples'), 'widgets.php') . '

' . '

' . __('Links may be separated into categories; these are different than the categories used on your posts.') . '

' . - '

' . __('You can customize the display of this screen using he Screen Options tab and/or the dropdown filters above the links table.') . '

' . + '

' . __('You can customize the display of this screen using the Screen Options tab and/or the dropdown filters above the links table.') . '

' . '

' . __('If you delete a link, it will be removed permanently, as Links do not have a Trash function yet. ') . '

' . - '

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

' . - '' - ); + '

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

' . + '

'. sprintf(__('Link Management Documentation'), 'http://codex.wordpress.org/Links_Edit_SubPanel') . '

' . + '

'. sprintf(__('Support Forums'), 'http://wordpress.org/support/') . '

' +); include_once ('./admin-header.php'); diff --git a/wp-admin/plugin-editor.php b/wp-admin/plugin-editor.php index 52ef82b79..e2b1a48ac 100644 --- a/wp-admin/plugin-editor.php +++ b/wp-admin/plugin-editor.php @@ -108,7 +108,7 @@ default: } add_contextual_help($current_screen, '

' . __('You can use the editor to make changes to any of your plugins’ individual PHP files. Be aware that if you make changes, plugins updates will overwrite your customizations. ') . '

' . - '

' . __('Choose a plugin to edit from the menu in the upper right and click the Select button. Click once any file name to load it in the editor, and make your changes. Don’t forget to save your changes (Update File) when you’re finished.') . '

' . + '

' . __('Choose a plugin to edit from the menu in the upper right and click the Select button. Click once on any file name to load it in the editor, and make your changes. Don’t forget to save your changes (Update File) when you’re finished.') . '

' . '

' . __('The Documentation menu below the editor lists the PHP functions recognized in the plugin file. Clicking Lookup takes you to a web page about that particular function. ') . '

' . '

' . __('If you want to make changes but don’t want them to be overwritten when the plugin is updated, you may be ready to think about writing your own plugin. For information on how to edit a plugin or start from scratch, check out the links below.') . '

' . '

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

' .