WordPress.org

Make WordPress Core

Changeset 19111


Ignore:
Timestamp:
11/02/11 03:12:37 (2 years ago)
Author:
ryan
Message:

Use add_help_sidebar(). see #19020

Location:
trunk/wp-admin
Files:
27 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/custom-background.php

    r18648 r19111  
    8181     */ 
    8282    function admin_load() { 
    83         add_contextual_help( $this->page, '<p>' . __( 'You can customize the look of your site without touching any of your theme&#8217;s code by using a custom background. Your background can be an image or a color.' ) . '</p>' . 
    84         '<p>' . __( 'To use a background image, simply upload it, then choose your display options below. You can display a single instance of your image, or tile it to fill the screen. You can have your background fixed in place, so your site content moves on top of it, or you can have it scroll with your site.' ) . '</p>' . 
    85         '<p>' . __( 'You can also choose a background color. If you know the hexadecimal code for the color you want, enter it in the Color field. If not, click on the Select a Color link, and a color picker will allow you to choose the exact shade you want.' ) . '</p>' . 
    86         '<p>' . __( 'Don&#8217;t forget to click on the Save Changes button when you are finished.' ) . '</p>' . 
    87         '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . 
    88         '<p>' . __( '<a href="http://codex.wordpress.org/Appearance_Background_Screen" target="_blank">Documentation on Custom Background</a>' ) . '</p>' . 
    89         '<p>' . __( '<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>' ) . '</p>' ); 
     83        add_contextual_help( $this->page, 
     84            '<p>' . __( 'You can customize the look of your site without touching any of your theme&#8217;s code by using a custom background. Your background can be an image or a color.' ) . '</p>' . 
     85            '<p>' . __( 'To use a background image, simply upload it, then choose your display options below. You can display a single instance of your image, or tile it to fill the screen. You can have your background fixed in place, so your site content moves on top of it, or you can have it scroll with your site.' ) . '</p>' . 
     86            '<p>' . __( 'You can also choose a background color. If you know the hexadecimal code for the color you want, enter it in the Color field. If not, click on the Select a Color link, and a color picker will allow you to choose the exact shade you want.' ) . '</p>' . 
     87            '<p>' . __( 'Don&#8217;t forget to click on the Save Changes button when you are finished.' ) . '</p>' 
     88        ); 
     89 
     90        get_current_screen()->add_help_sidebar( 
     91            '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . 
     92            '<p>' . __( '<a href="http://codex.wordpress.org/Appearance_Background_Screen" target="_blank">Documentation on Custom Background</a>' ) . '</p>' . 
     93            '<p>' . __( '<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>' ) . '</p>' 
     94        ); 
     95 
    9096        wp_enqueue_script('custom-background'); 
    9197        wp_enqueue_style('farbtastic'); 
  • trunk/wp-admin/custom-header.php

    r18509 r19111  
    100100     */ 
    101101    function help() { 
    102         add_contextual_help( $this->page, '<p>' . __( 'You can set a custom image header for your site. Simply upload the image and crop it, and the new header will go live immediately.' ) . '</p>' . 
    103         '<p>' . __( 'If you want to discard your custom header and go back to the default included in your theme, click on the buttons to remove the custom image and restore the original header image.' ) . '</p>' . 
    104         '<p>' . __( 'Some themes come with additional header images bundled. If you see multiple images displayed, select the one you&#8217;d like and click the Save Changes button.' ) . '</p>' . 
    105         '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . 
    106         '<p>' . __( '<a href="http://codex.wordpress.org/Appearance_Header_Screen" target="_blank">Documentation on Custom Header</a>' ) . '</p>' . 
    107         '<p>' . __( '<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>' ) . '</p>' ); 
     102        add_contextual_help( $this->page, 
     103            '<p>' . __( 'You can set a custom image header for your site. Simply upload the image and crop it, and the new header will go live immediately.' ) . '</p>' . 
     104            '<p>' . __( 'If you want to discard your custom header and go back to the default included in your theme, click on the buttons to remove the custom image and restore the original header image.' ) . '</p>' . 
     105            '<p>' . __( 'Some themes come with additional header images bundled. If you see multiple images displayed, select the one you&#8217;d like and click the Save Changes button.' ) . '</p>' 
     106        ); 
     107 
     108        get_current_screen()->add_help_sidebar( 
     109            '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . 
     110            '<p>' . __( '<a href="http://codex.wordpress.org/Appearance_Header_Screen" target="_blank">Documentation on Custom Header</a>' ) . '</p>' . 
     111            '<p>' . __( '<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>' ) . '</p>' 
     112        ); 
    108113    } 
    109114 
  • trunk/wp-admin/edit-comments.php

    r18911 r19111  
    117117    '<p>' . __( 'In the Comment column, above each comment it says &#8220;Submitted on,&#8221; followed by the date and time the comment was left on your site. Clicking on the date/time link will take you to that comment on your live site. Hovering over any comment gives you options to approve, reply (and approve), quick edit, edit, spam mark, or trash that comment.' ) . '</p>' . 
    118118    '<p>' . __( 'In the In Response To column, there are three elements. The text is the name of the post that inspired the comment, and links to the post editor for that entry. The &#8220;#&#8221; permalink symbol below leads to that post on your live site. The small bubble with the number in it shows how many comments that post has received. If the bubble is gray, you have moderated all comments for that post. If it is blue, there are pending comments. Clicking the bubble will filter the comments screen to show only comments on that post.' ) . '</p>' . 
    119     '<p>' . __( 'Many people take advantage of keyboard shortcuts to moderate their comments more quickly. Use the link below to learn more.' ) . '</p>' . 
     119    '<p>' . __( 'Many people take advantage of keyboard shortcuts to moderate their comments more quickly. Use the link below to learn more.' ) . '</p>' 
     120); 
     121 
     122get_current_screen()->add_help_sidebar( 
    120123    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . 
    121124    '<p>' . __( '<a href="http://codex.wordpress.org/Administration_Screens#Comments" target="_blank">Documentation on Comments</a>' ) . '</p>' . 
     
    124127    '<p>' . __( '<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>' ) . '</p>' 
    125128); 
     129 
    126130require_once('./admin-header.php'); 
    127131?> 
  • trunk/wp-admin/edit-link-form.php

    r19013 r19111  
    4343    '<p>' . __( 'You can add or edit links on this screen by entering information in each of the boxes. Only the link&#8217;s web address and name (the text you want to display on your site as the link) are required fields.' ) . '</p>' . 
    4444    '<p>' . __( '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&#8217;t use in the Screen Options tab, or minimize boxes by clicking on the title bar of the box.' ) . '</p>' . 
    45     '<p>' . __( 'XFN stands for <a href="http://gmpg.org/xfn/" target="_blank">XHTML Friends Network</a>, which is optional. WordPress allows the generation of XFN attributes to show how you are related to the authors/owners of the site to which you are linking.' ) . '</p>' . 
     45    '<p>' . __( 'XFN stands for <a href="http://gmpg.org/xfn/" target="_blank">XHTML Friends Network</a>, which is optional. WordPress allows the generation of XFN attributes to show how you are related to the authors/owners of the site to which you are linking.' ) . '</p>' 
     46); 
     47 
     48get_current_screen()->add_help_sidebar( 
    4649    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . 
    4750    '<p>' . __( '<a href="http://codex.wordpress.org/Links_Add_New_Screen" target="_blank">Documentation on Creating Links</a>' ) . '</p>' . 
  • trunk/wp-admin/edit-tags.php

    r19054 r19111  
    226226        $help .= '<li>' . __( '<strong>Description</strong> - The description is not prominent by default; however, some themes may display it.' ) . '</li>' . 
    227227        '</ul>' . 
    228         '<p>' . __( 'You can change the display of this screen using the Screen Options tab to set how many items are displayed per screen and to display/hide columns in the table.' ) . '</p>' . 
    229         '<p><strong>' . __( 'For more information:' ) . '</strong></p>'; 
     228        '<p>' . __( 'You can change the display of this screen using the Screen Options tab to set how many items are displayed per screen and to display/hide columns in the table.' ) . '</p>'; 
     229 
     230    add_contextual_help($current_screen, $help); 
     231 
     232    $help = '<p><strong>' . __( 'For more information:' ) . '</strong></p>'; 
    230233 
    231234    if ( 'category' == $taxonomy ) 
     
    238241    $help .= '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'; 
    239242 
    240     add_contextual_help($current_screen, $help); 
     243    get_current_screen()->add_help_sidebar( $help ); 
     244 
    241245    unset($help); 
    242246} 
  • trunk/wp-admin/edit.php

    r18911 r19111  
    165165    '<li>' . __('Preview will show you what your draft post will look like if you publish it. View will take you to your live site to view the post. Which link is available depends on your post&#8217;s status.') . '</li>' . 
    166166    '</ul>' . 
    167     '<p>' . __('You can also edit multiple posts at once. Select the posts you want to edit using the checkboxes, select Edit from the Bulk Actions menu and click Apply. You will be able to change the metadata (categories, author, etc.) for all selected posts at once. To remove a post from the grouping, just click the x next to its name in the Bulk Edit area that appears.') . '</p>' . 
     167    '<p>' . __('You can also edit multiple posts at once. Select the posts you want to edit using the checkboxes, select Edit from the Bulk Actions menu and click Apply. You will be able to change the metadata (categories, author, etc.) for all selected posts at once. To remove a post from the grouping, just click the x next to its name in the Bulk Edit area that appears.') . '</p>' 
     168    ); 
     169 
     170    get_current_screen()->add_help_sidebar( 
    168171    '<p><strong>' . __('For more information:') . '</strong></p>' . 
    169172    '<p>' . __('<a href="http://codex.wordpress.org/Posts_Screen" target="_blank">Documentation on Managing Posts</a>') . '</p>' . 
     
    174177    '<p>' . __('Pages are similar to Posts in that they have a title, body text, and associated metadata, but they are different in that they are not part of the chronological blog stream, kind of like permanent posts. Pages are not categorized or tagged, but can have a hierarchy. You can nest Pages under other Pages by making one the &#8220;Parent&#8221; of the other, creating a group of Pages.') . '</p>' . 
    175178    '<p>' . __('Managing Pages is very similar to managing Posts, and the screens can be customized in the same way.') . '</p>' . 
    176     '<p>' . __('You can also perform the same types of actions, including narrowing the list by using the filters, acting on a Page using the action links that appear when you hover over a row, or using the Bulk Actions menu to edit the metadata for multiple Pages at once.') . '</p>' . 
     179    '<p>' . __('You can also perform the same types of actions, including narrowing the list by using the filters, acting on a Page using the action links that appear when you hover over a row, or using the Bulk Actions menu to edit the metadata for multiple Pages at once.') . '</p>' 
     180    ); 
     181 
     182    get_current_screen()->add_help_sidebar( 
    177183    '<p><strong>' . __('For more information:') . '</strong></p>' . 
    178184    '<p>' . __('<a href="http://codex.wordpress.org/Pages_Screen" target="_blank">Documentation on Managing Pages</a>') . '</p>' . 
  • trunk/wp-admin/export.php

    r18010 r19111  
    4141add_contextual_help( $current_screen, 
    4242    '<p>' . __('You can export a file of your site&#8217;s content in order to import it into another installation or platform. The export file will be an XML file format called WXR. Posts, pages, comments, custom fields, categories, and tags can be included. You can choose for the WXR file to include only certain posts or pages by setting the dropdown filters to  limit the export by category, author, date range by month, or publishing status.') . '</p>' . 
    43     '<p>' . __('Once generated, your WXR file can be imported by another WordPress site or by another blogging platform able to access this format.') . '</p>' . 
     43    '<p>' . __('Once generated, your WXR file can be imported by another WordPress site or by another blogging platform able to access this format.') . '</p>' 
     44); 
     45 
     46get_current_screen()->add_help_sidebar( 
    4447    '<p><strong>' . __('For more information:') . '</strong></p>' . 
    4548    '<p>' . __('<a href="http://codex.wordpress.org/Tools_Export_Screen" target="_blank">Documentation on Export</a>') . '</p>' . 
  • trunk/wp-admin/import.php

    r18985 r19111  
    1919add_contextual_help($current_screen, 
    2020    '<p>' . __('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.') . '</p>' . 
    21     '<p>' . __('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.') . '</p>' . 
     21    '<p>' . __('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.') . '</p>' 
     22); 
     23 
     24get_current_screen()->add_help_sidebar( 
    2225    '<p><strong>' . __('For more information:') . '</strong></p>' . 
    2326    '<p>' . __('<a href="http://codex.wordpress.org/Tools_Import_Screen" target="_blank">Documentation on Import</a>') . '</p>' . 
  • trunk/wp-admin/link-manager.php

    r18911 r19111  
    4545    '<p>' . __('Links may be separated into categories; these are different than the categories used on your posts.') . '</p>' . 
    4646    '<p>' . __('You can customize the display of this screen using the Screen Options tab and/or the dropdown filters above the links table.') . '</p>' . 
    47     '<p>' . __('If you delete a link, it will be removed permanently, as Links do not have a Trash function yet.') . '</p>' . 
     47    '<p>' . __('If you delete a link, it will be removed permanently, as Links do not have a Trash function yet.') . '</p>' 
     48); 
     49 
     50get_current_screen()->add_help_sidebar( 
    4851    '<p><strong>' . __('For more information:') . '</strong></p>' . 
    4952    '<p>' . __('<a href="http://codex.wordpress.org/Links_Screen" target="_blank">Documentation on Managing Links</a>') . '</p>' . 
  • trunk/wp-admin/media-upload.php

    r18850 r19111  
    6565    add_contextual_help( $current_screen, 
    6666'<p>' . __('You can upload media files here without creating a post first. This allows you to upload files to use with posts and pages later and/or to get a web link for a particular file that you can share.') . '</p>' . 
    67         '<p>' . __('There are two options for uploading files: <em>Select Files</em> will open the Flash-based uploader (multiple file upload allowed), or you can use the <em>Browser Uploader</em>. Clicking <em>Select Files</em> opens a navigation window showing you files in your operating system. Selecting <em>Open</em> after clicking on the file you want activates a progress bar on the uploader screen. Basic image editing is available after upload is complete. Make sure you click <em>Save</em> before leaving this screen.') . '</p>' . 
     67        '<p>' . __('There are two options for uploading files: <em>Select Files</em> will open the Flash-based uploader (multiple file upload allowed), or you can use the <em>Browser Uploader</em>. Clicking <em>Select Files</em> opens a navigation window showing you files in your operating system. Selecting <em>Open</em> after clicking on the file you want activates a progress bar on the uploader screen. Basic image editing is available after upload is complete. Make sure you click <em>Save</em> before leaving this screen.') . '</p>' 
     68    ); 
     69 
     70    get_current_screen()->add_help_sidebar( 
    6871        '<p><strong>' . __('For more information:') . '</strong></p>' . 
    6972        '<p>' . __('<a href="http://codex.wordpress.org/Media_Add_New_Screen" target="_blank">Documentation on Uploading Media Files</a>') . '</p>' . 
  • trunk/wp-admin/nav-menus.php

    r18911 r19111  
    449449$help .= '<p>' . __('You can create custom menus for your site. These menus may contain links to pages, categories, custom links or other content types (use the Screen Options tab to decide which ones to show on the screen). You can specify a different navigation label for a menu item as well as other attributes. You can create multiple menus. If your theme includes more than one menu, you can choose which custom menu to associate with each. You can also use custom menus in conjunction with the Custom Menus widget.') . '</p>'; 
    450450$help .= '<p>' . __('To create a new custom menu, click on the + tab, give the menu a name, and click Create Menu. Next, add menu items from the appropriate boxes. You&#8217;ll be able to edit the information for each menu item, and can drag and drop to put them in order. You can also drag a menu item a little to the right to make it a submenu, to create menus with hierarchy. Drop the item into its new nested placement when the dotted rectangle target shifts over, also a little to the right. Don&#8217;t forget to click Save when you&#8217;re finished.') . '</p>'; 
    451 $help .= '<p><strong>' . __('For more information:') . '</strong></p>'; 
    452 $help .= '<p>' . __('<a href="http://codex.wordpress.org/Appearance_Menus_Screen" target="_blank">Documentation on Menus</a>') . '</p>'; 
    453 $help .= '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'; 
    454451 
    455452add_contextual_help($current_screen, $help); 
     453 
     454get_current_screen()->add_help_sidebar( 
     455    '<p><strong>' . __('For more information:') . '</strong></p>' . 
     456    '<p>' . __('<a href="http://codex.wordpress.org/Appearance_Menus_Screen" target="_blank">Documentation on Menus</a>') . '</p>' . 
     457    '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>' 
     458); 
    456459 
    457460// Get the admin header 
  • trunk/wp-admin/options-discussion.php

    r18508 r19111  
    1818add_contextual_help($current_screen, 
    1919    '<p>' . __('This screen provides many options for controlling the management and display of comments and links to your posts/pages. So many, in fact, they won&#8217;t all fit here! :) Use the documentation link below to get information on what each discussion setting does.') . '</p>' . 
    20     '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>' . 
     20    '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>' 
     21); 
     22 
     23get_current_screen()->add_help_sidebar( 
    2124    '<p><strong>' . __('For more information:') . '</strong></p>' . 
    2225    '<p>' . __('<a href="http://codex.wordpress.org/Settings_Discussion_Screen" target="_blank">Documentation on Discussion Settings</a>') . '</p>' . 
  • trunk/wp-admin/options-general.php

    r18533 r19111  
    6565    '<p>' . __('If you want site visitors to be able to register themselves, as opposed to being registered by the site administrator, check the membership box. A default user role can be set for all new users, whether self-registered or registered by the site administrator.') . '</p>' . 
    6666    '<p>' . __('UTC means Coordinated Universal Time.') . '</p>' . 
    67     '<p>' . __('Remember to click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>' . 
     67    '<p>' . __('Remember to click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>' 
     68); 
     69 
     70get_current_screen()->add_help_sidebar( 
    6871    '<p><strong>' . __('For more information:') . '</strong></p>' . 
    6972    '<p>' . __('<a href="http://codex.wordpress.org/Settings_General_Screen" target="_blank">Documentation on General Settings</a>') . '</p>' . 
  • trunk/wp-admin/options-media.php

    r17748 r19111  
    2020    '<p>' . __('The Embed option allows you embed a video, image, or other media content into your content automatically by typing the URL (of the web page where the file lives) on its own line when you create your content.') . '</p>' . 
    2121    ( is_multisite() ? '' : '<p>' . __('Uploading Options gives you folder and path choices for storing your files in your installation&#8217;s directory.') . '</p>' ) . 
    22     '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>' . 
     22    '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>' 
     23); 
     24 
     25get_current_screen()->add_help_sidebar( 
    2326    '<p><strong>' . __('For more information:') . '</strong></p>' . 
    2427    '<p>' . __('<a href="http://codex.wordpress.org/Settings_Media_Screen" target="_blank">Documentation on Media Settings</a>') . '</p>' . 
  • trunk/wp-admin/options-permalink.php

    r18590 r19111  
    2121    '<p>' . __('When you assign multiple categories or tags to a post, only one can show up in the permalink: the lowest numbered category. This applies if your custom structure includes <code>%category%</code> or <code>%tag%</code>.') . '</p>' . 
    2222    '<p>' . __('The Optional fields let you customize the &#8220;category&#8221; and &#8220;tag&#8221; base names that will appear in archive URLs. For example, the page listing all posts in the &#8220;Uncategorized&#8221; category could be <code>/topics/uncategorized</code> instead of <code>/category/uncategorized</code>.') . '</p>' . 
    23     '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>' . 
     23    '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>' 
     24); 
     25 
     26get_current_screen()->add_help_sidebar( 
    2427    '<p><strong>' . __('For more information:') . '</strong></p>' . 
    2528    '<p>' . __('<a href="http://codex.wordpress.org/Settings_Permalinks_Screen" target="_blank">Documentation on Permalinks Settings</a>') . '</p>' . 
  • trunk/wp-admin/options-privacy.php

    r18554 r19111  
    1919    '<p>' . __('You can choose whether or not your site will be crawled by robots, ping services, and spiders. If you want those services to ignore your site, click the second option here. Note that your privacy is not complete; your site is still visible on the web.') . '</p>' . 
    2020    '<p>' . __('When this setting is in effect a reminder is shown in the Right Now box of the Dashboard that says, &#8220;Search Engines Blocked,&#8221; to remind you that your site is not being crawled.') . '</p>' . 
    21     '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>' . 
     21    '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>' 
     22); 
     23 
     24get_current_screen()->add_help_sidebar( 
    2225    '<p><strong>' . __('For more information:') . '</strong></p>' . 
    2326    '<p>' . __('<a href="http://codex.wordpress.org/Settings_Privacy_Screen" target="_blank">Documentation on Privacy Settings</a>') . '</p>' . 
  • trunk/wp-admin/options-reading.php

    r17923 r19111  
    4646    '<p>' . sprintf(__('You can choose what&#8217;s displayed on the front page of your site. It can be posts in reverse chronological order (classic blog), or a fixed/static page. To set a static home page, you first need to create two <a href="%s">Pages</a>. One will become the front page, and the other will be where your posts are displayed.'), 'post-new.php?post_type=page') . '</p>' . 
    4747    '<p>' . __('You can also control the display of your content in RSS feeds, including the maximum numbers of posts to display, whether to show full text or a summary, and the character set encoding.') . '</p>' . 
    48     '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>' . 
     48    '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>' 
     49); 
     50 
     51get_current_screen()->add_help_sidebar( 
    4952    '<p><strong>' . __('For more information:') . '</strong></p>' . 
    5053    '<p>' . __('<a href="http://codex.wordpress.org/Settings_Reading_Screen" target="_blank">Documentation on Reading Settings</a>') . '</p>' . 
  • trunk/wp-admin/options-writing.php

    r18187 r19111  
    1818add_contextual_help($current_screen, 
    1919    '<p>' . __('You can submit content in several different ways; this screen holds the settings for all of them. The top section controls the editor within these administration screens, while the rest control external publishing methods. For more information on any of these methods, use the documentation links below.') . '</p>' . 
    20     '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>' . 
     20    '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>' 
     21); 
     22 
     23get_current_screen()->add_help_sidebar( 
    2124    '<p><strong>' . __('For more information:') . '</strong></p>' . 
    2225    '<p>' . __('<a href="http://codex.wordpress.org/Settings_Writing_Screen" target="_blank">Documentation on Writing Settings</a>') . '</p>' . 
  • trunk/wp-admin/plugins.php

    r18991 r19111  
    323323    '<p>' . sprintf(__('You can find additional plugins for your site by using the <a href="%1$s">Plugin Browser/Installer</a> functionality or by browsing the <a href="%2$s" target="_blank">WordPress Plugin Directory</a> directly and installing new plugins manually. To manually install a plugin you generally just need to upload the plugin file into your <code>/wp-content/plugins</code> directory. Once a plugin has been installed, you can activate it here.'), 'plugin-install.php', 'http://wordpress.org/extend/plugins/') . '</p>' . 
    324324    '<p>' . __('Most of the time, plugins play nicely with the core of WordPress and with other plugins. Sometimes, though, a plugin&#8217;s code will get in the way of another plugin, causing compatibility issues. If your site starts doing strange things, this may be the problem. Try deactivating all your plugins and re-activating them in various combinations until you isolate which one(s) caused the issue.') . '</p>' . 
    325     '<p>' . sprintf( __('If something goes wrong with a plugin and you can&#8217;t use WordPress, delete or rename that file in the <code>%s</code> directory and it will be automatically deactivated.'), WP_PLUGIN_DIR) . '</p>' . 
     325    '<p>' . sprintf( __('If something goes wrong with a plugin and you can&#8217;t use WordPress, delete or rename that file in the <code>%s</code> directory and it will be automatically deactivated.'), WP_PLUGIN_DIR) . '</p>' 
     326); 
     327 
     328get_current_screen()->add_help_sidebar( 
    326329    '<p><strong>' . __('For more information:') . '</strong></p>' . 
    327330    '<p>' . __('<a href="http://codex.wordpress.org/Managing_Plugins#Plugin_Management" target="_blank">Documentation on Managing Plugins</a>') . '</p>' . 
  • trunk/wp-admin/themes.php

    r19028 r19111  
    4343    $help .= '<p>' . sprintf(__('If you would like to see more themes to choose from, click on the &#8220;Install Themes&#8221; tab and you will be able to browse or search for additional themes from the <a href="%s" target="_blank">WordPress.org Theme Directory</a>. Themes in the WordPress.org Theme Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they&#8217;re free!'), 'http://wordpress.org/extend/themes/') . '</p>'; 
    4444 
    45 $help .= '<p><strong>' . __('For more information:') . '</strong></p>'; 
    46 $help .= '<p>' . __('<a href="http://codex.wordpress.org/Using_Themes" target="_blank">Documentation on Using Themes</a>') . '</p>'; 
    47 $help .= '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'; 
    4845add_contextual_help($current_screen, $help); 
     46 
     47get_current_screen()->add_help_sidebar( 
     48    '<p><strong>' . __('For more information:') . '</strong></p>' . 
     49    '<p>' . __('<a href="http://codex.wordpress.org/Using_Themes" target="_blank">Documentation on Using Themes</a>') . '</p>' . 
     50    '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>' 
     51); 
    4952 
    5053add_thickbox(); 
  • trunk/wp-admin/tools.php

    r18187 r19111  
    1515    '<p>' . __('Press This is a bookmarklet that makes it easy to blog about something you come across on the web. You can use it to just grab a link, or to post an excerpt. Press This will even allow you to choose from images included on the page and use them in your post. Just drag the Press This link on this screen to your bookmarks bar in your browser, and you&#8217;ll be on your way to easier content creation. Clicking on it while on another website opens a popup window with all these options.') . '</p>' . 
    1616    '<p>' . __('The Use This link for the Categories and Tags Converter will take you to the Import page, where that Converter is one of the plugins you can download. Once that plugin is installed, the link on this page takes you to a screen where you can choose conversion either way.') . '</p>' . 
    17     '<p>' . __('Note: Turbo/Gears is no longer promoted on this screen as it was in previous versions due to the fact that Google has discontinued support for it.') . '</p>' . 
     17    '<p>' . __('Note: Turbo/Gears is no longer promoted on this screen as it was in previous versions due to the fact that Google has discontinued support for it.') . '</p>' 
     18); 
     19 
     20get_current_screen()->add_help_sidebar( 
    1821    '<p><strong>' . __('For more information:') . '</strong></p>' . 
    1922    '<p>' . __('<a href="http://codex.wordpress.org/Tools_Screen" target="_blank">Documentation on Tools</a>') . '</p>' . 
  • trunk/wp-admin/update-core.php

    r19060 r19111  
    422422    '<p>' . __('This screen lets you update to the latest version of WordPress as well as update your themes and plugins from the WordPress.org repository. When updates are available, the number of available updates will appear in a bubble on the left hand menu as a notification. It is very important to keep your WordPress installation up to date for security reasons, so when you see a number appear, make sure you take the time to update, which is an easy process.') . '</p>' . 
    423423    '<p>' . __('Updating your WordPress installation is a simple one-click procedure; just click on the Update button when it says a new version is available.') . '</p>' . 
    424     '<p>' . __('To update themes or plugins from this screen, use the checkboxes to make your selection and click on the appropriate Update button. Check the box at the top of the Themes or Plugins section to select all and update them all at once.') . '</p>' . 
     424    '<p>' . __('To update themes or plugins from this screen, use the checkboxes to make your selection and click on the appropriate Update button. Check the box at the top of the Themes or Plugins section to select all and update them all at once.') . '</p>' 
     425); 
     426 
     427get_current_screen()->add_help_sidebar( 
    425428    '<p><strong>' . __('For more information:') . '</strong></p>' . 
    426429    '<p>' . __('<a href="http://codex.wordpress.org/Dashboard_Updates_Screen" target="_blank">Documentation on Updating WordPress</a>') . '</p>' . 
  • trunk/wp-admin/upload.php

    r18911 r19111  
    150150    '<p>' . __( 'You can narrow the list by file type/status using the text link filters at the top of the screen. You also can refine the list by date using the dropdown menu above the media table.' ) . '</p>' . 
    151151    '<p>' . __( 'Hovering over a row reveals action links: <em>Edit</em>, <em>Delete Permanently</em>, and <em>View</em>. Clicking <em>Edit</em> or on the media file&#8217;s name displays a simple screen to edit that individual file&#8217;s metadata. Clicking <em>Delete Permanently</em> will delete the file from the media library (as well as from any posts to which it is currently attached). <em>View</em> will take you to the display page for that file.' ) . '</p>' . 
    152     '<p>' . __( 'If a media file has not been attached to any post, you will see that in the <em>Attached To</em> column, and can click on <em>Attach File</em> to launch a small popup that will allow you to search for a post and attach the file.' ) . '</p>' . 
     152    '<p>' . __( 'If a media file has not been attached to any post, you will see that in the <em>Attached To</em> column, and can click on <em>Attach File</em> to launch a small popup that will allow you to search for a post and attach the file.' ) . '</p>' 
     153); 
     154 
     155get_current_screen()->add_help_sidebar( 
    153156    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . 
    154157    '<p>' . __( '<a href="http://codex.wordpress.org/Media_Library_Screen" target="_blank">Documentation on Media Library</a>' ) . '</p>' . 
  • trunk/wp-admin/user-edit.php

    r18953 r19111  
    4343    '<p>' . __('Your username cannot be changed, but you can use other fields to enter your real name or a nickname, and change which name to display on your posts.') . '</p>' . 
    4444    '<p>' . __('Required fields are indicated; the rest are optional. Profile information will only be displayed if your theme is set up to do so.') . '</p>' . 
    45     '<p>' . __('Remember to click the Update Profile button when you are finished.') . '</p>' . 
     45    '<p>' . __('Remember to click the Update Profile button when you are finished.') . '</p>' 
     46); 
     47 
     48get_current_screen()->add_help_sidebar( 
    4649    '<p><strong>' . __('For more information:') . '</strong></p>' . 
    4750    '<p>' . __('<a href="http://codex.wordpress.org/Users_Your_Profile_Screen" target="_blank">Documentation on User Profiles</a>') . '</p>' . 
    4851    '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>' 
    4952); 
    50  
    5153 
    5254$wp_http_referer = remove_query_arg(array('update', 'delete_count'), stripslashes($wp_http_referer)); 
  • trunk/wp-admin/user-new.php

    r18965 r19111  
    126126} 
    127127 
    128  
    129128$title = __('Add New User'); 
    130129$parent_file = 'users.php'; 
     
    145144    '<p>' . __('You must assign a password to the new user, but don&#8217;t worry; when they log in for the first time they will be prompted to change it. The username, however, cannot be changed.') . '</p>' . 
    146145    '<p>' . __('New users will receive an email letting them know they&#8217;ve been added as a user for your site. By default, this email will also contain their password. Uncheck the box if you don&#8217;t want the password to be included in the welcome email.') . '</p>' . 
    147     '<p>' . __('Remember to click the Add User button at the bottom of this screen when you are finished.') . '</p>' . 
     146    '<p>' . __('Remember to click the Add User button at the bottom of this screen when you are finished.') . '</p>' 
     147); 
     148 
     149get_current_screen()->add_help_sidebar( 
    148150    '<p><strong>' . __('For more information:') . '</strong></p>' . 
    149151    '<p>' . __('<a href="http://codex.wordpress.org/Users_Add_New_Screen" target="_blank">Documentation on Adding New Users</a>') . '</p>' . 
  • trunk/wp-admin/users.php

    r19024 r19111  
    2424    '<p>' . __('This screen lists all the existing users for your site. Each user has one of five defined roles as set by the site admin: Site Administrator, Editor, Author, Contributor, or Subscriber. Users with roles other than Administrator will see fewer options in the dashboard navigation when they are logged in, based on their role.') . '</p>' . 
    2525    '<p>' . __('You can customize the display of information on this screen as you can on other screens, by using the Screen Options tab and the on-screen filters.') . '</p>' . 
    26     '<p>' . __('To add a new user for your site, click the Add New button at the top of the screen or Add New in the Users menu section.') . '</p>' . 
     26    '<p>' . __('To add a new user for your site, click the Add New button at the top of the screen or Add New in the Users menu section.') . '</p>' 
     27); 
     28 
     29get_current_screen()->add_help_sidebar( 
    2730    '<p><strong>' . __('For more information:') . '</strong></p>' . 
    2831    '<p>' . __('<a href="http://codex.wordpress.org/Users_Screen" target="_blank">Documentation on Managing Users</a>') . '</p>' . 
  • trunk/wp-admin/widgets.php

    r18911 r19111  
    4444    <p>' . __('Many themes show some sidebar widgets by default until you edit your sidebars, but they are not automatically displayed in your sidebar management tool. After you make your first widget change, you can re-add the default widgets by adding them from the Available Widgets area.') . '</p> 
    4545'; 
    46 $help .= '<p><strong>' . __('For more information:') . '</strong></p>'; 
    47 $help .= '<p>' . __('<a href="http://codex.wordpress.org/Appearance_Widgets_Screen" target="_blank">Documentation on Widgets</a>') . '</p>'; 
    48 $help .= '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'; 
     46 
    4947add_contextual_help($current_screen, $help); 
     48 
     49get_current_screen()->add_help_sidebar( 
     50    '<p><strong>' . __('For more information:') . '</strong></p>' . 
     51    '<p>' . __('<a href="http://codex.wordpress.org/Appearance_Widgets_Screen" target="_blank">Documentation on Widgets</a>') . '</p>' . 
     52    '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>' 
     53); 
    5054 
    5155// These are the widgets grouped by sidebar 
Note: See TracChangeset for help on using the changeset viewer.