Make WordPress Core

Ticket #19020: edit-help-tab.diff

File edit-help-tab.diff, 5.3 KB (added by ryan, 14 years ago)
  • wp-admin/edit.php

     
    149149$title = $post_type_object->labels->name;
    150150
    151151if ( 'post' == $post_type ) {
    152         add_contextual_help($current_screen,
    153         '<p>' . __('You can customize the display of this screen in a number of ways:') . '</p>' .
    154         '<ul>' .
    155         '<li>' . __('You can hide/display columns based on your needs and decide how many posts to list per screen using the Screen Options tab.') . '</li>' .
    156         '<li>' . __('You can filter the list of posts by post status using the text links in the upper left to show All, Published, Draft, or Trashed posts. The default view is to show all posts.') . '</li>' .
    157         '<li>' . __('You can view posts in a simple title list or with an excerpt. Choose the view you prefer by clicking on the icons at the top of the list on the right.') . '</li>' .
    158         '<li>' . __('You can refine the list to show only posts in a specific category or from a specific month by using the dropdown menus above the posts list. Click the Filter button after making your selection. You also can refine the list by clicking on the post author, category or tag in the posts list.') . '</li>' .
    159         '</ul>' .
    160         '<p>' . __('Hovering over a row in the posts list will display action links that allow you to manage your post. You can perform the following actions:') . '</p>' .
    161         '<ul>' .
    162         '<li>' . __('Edit takes you to the editing screen for that post. You can also reach that screen by clicking on the post title.') . '</li>' .
    163         '<li>' . __('Quick Edit provides inline access to the metadata of your post, allowing you to update post details without leaving this screen.') . '</li>' .
    164         '<li>' . __('Trash removes your post from this list and places it in the trash, from which you can permanently delete it.') . '</li>' .
    165         '<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>' .
    166         '</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>'
    168         );
     152        get_current_screen()->add_help_tab( array(
     153        'id'      => 'customize-display',
     154        'title'   => __('Customizing This Display'),
     155        'content' => '<p>' . __('You can customize the display of this screen in a number of ways:') . '</p>' .
     156                        '<ul>' .
     157                        '<li>' . __('You can hide/display columns based on your needs and decide how many posts to list per screen using the Screen Options tab.') . '</li>' .
     158                        '<li>' . __('You can filter the list of posts by post status using the text links in the upper left to show All, Published, Draft, or Trashed posts. The default view is to show all posts.') . '</li>' .
     159                        '<li>' . __('You can view posts in a simple title list or with an excerpt. Choose the view you prefer by clicking on the icons at the top of the list on the right.') . '</li>' .
     160                        '<li>' . __('You can refine the list to show only posts in a specific category or from a specific month by using the dropdown menus above the posts list. Click the Filter button after making your selection. You also can refine the list by clicking on the post author, category or tag in the posts list.') . '</li>' .
     161                        '</ul>'
     162        ) );
    169163
     164        get_current_screen()->add_help_tab( array(
     165        'id'      => 'row-actions',
     166        'title'   => __('Action Links'),
     167        'content' => '<p>' . __('Hovering over a row in the posts list will display action links that allow you to manage your post. You can perform the following actions:') . '</p>' .
     168                        '<ul>' .
     169                        '<li>' . __('Edit takes you to the editing screen for that post. You can also reach that screen by clicking on the post title.') . '</li>' .
     170                        '<li>' . __('Quick Edit provides inline access to the metadata of your post, allowing you to update post details without leaving this screen.') . '</li>' .
     171                        '<li>' . __('Trash removes your post from this list and places it in the trash, from which you can permanently delete it.') . '</li>' .
     172                        '<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>' .
     173                        '</ul>'
     174        ) );
     175
     176        get_current_screen()->add_help_tab( array(
     177        'id'      => 'bulk-editing',
     178        'title'   => __('Edit Multiple Posts'),
     179        'content' => '<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>'
     180        ) );
     181
    170182        get_current_screen()->set_help_sidebar(
    171183        '<p><strong>' . __('For more information:') . '</strong></p>' .
    172184        '<p>' . __('<a href="http://codex.wordpress.org/Posts_Screen" target="_blank">Documentation on Managing Posts</a>') . '</p>' .