WordPress.org

Make WordPress Core

Ticket #19020: media-cmts-posts-dash-1130jw.patch

File media-cmts-posts-dash-1130jw.patch, 8.4 KB (added by jane, 6 years ago)

More help fixes for misc screens

  • wp-admin/edit-comments.php

     
    112112add_screen_option( 'per_page', array('label' => _x( 'Comments', 'comments per page (screen options)' )) ); 
    113113 
    114114get_current_screen()->add_help_tab( array( 
    115 'id'            => 'managing-comments', 
    116 'title'         => __('Managing Comments'), 
     115'id'            => 'overview', 
     116'title'         => __('Overview'), 
    117117'content'       =>  
    118118        '<p>' . __( 'You can manage comments made on your site similar to the way you manage posts and other content. This screen is customizable in the same ways as other management screens, and you can act on comments using the on-hover action links or the Bulk Actions.' ) . '</p>' 
    119119) ); 
    120120get_current_screen()->add_help_tab( array( 
    121 'id'            => 'comments-table', 
    122 'title'         => __('Comments Table'), 
     121'id'            => 'moderating-comments', 
     122'title'         => __('Moderating Comments'), 
    123123'content'       =>  
    124124        '<ul>' . 
    125125                '<li>' . __( 'A yellow row means the comment is waiting for you to moderate it.' ) . '</li>' . 
  • wp-admin/media-upload.php

     
    6161        $title = __('Upload New Media'); 
    6262        $parent_file = 'upload.php'; 
    6363        get_current_screen()->add_help_tab( array( 
    64         'id'            => 'adding-media', 
    65         'title'         => __('Adding Media'), 
     64        'id'            => 'overview', 
     65        'title'         => __('Overview'), 
    6666        'content'       => 
    67                 '<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>' 
    68         ) ); 
    69         get_current_screen()->add_help_tab( array( 
    70         'id'            => 'editing-new-media', 
    71         'title'         => __('Editing New Media'), 
    72         'content'       => 
    73                 '<p>' . __('There are three options for uploading files:') .   
     67                '<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. There are three options for uploading files:') . '</p>' . 
    7468                '<ul>' . 
    7569                        '<li>' . __('<strong>Drag and drop</strong> your files into the area below. Multiple files are allowed.') . '</li>' . 
    7670                        '<li>' . __('<strong>Select Files</strong> will open the multi-file uploader, or you can use the <strong>Browser Uploader</strong>.') . '</li>' . 
  • wp-admin/upload.php

     
    154154) ); 
    155155get_current_screen()->add_help_tab( array( 
    156156'id'            => 'actions-links', 
    157 'title'         => __('Action Links'), 
     157'title'         => __('Available Actions'), 
    158158'content'       => 
    159159        '<p>' . __( 'Hovering over a row reveals action links: Edit, Delete Permanently, and View. Clicking Edit or on the media file&#8217;s name displays a simple screen to edit that individual file&#8217;s metadata. Clicking Delete Permanently will delete the file from the media library (as well as from any posts to which it is currently attached). View will take you to the display page for that file.' ) . '</p>' 
    160160) ); 
    161161get_current_screen()->add_help_tab( array( 
    162 'id'            => 'attach-media-files', 
    163 'title'         => __('Attach Media Files'), 
     162'id'            => 'attaching-files', 
     163'title'         => __('Attaching Files'), 
    164164'content'       => 
    165165        '<p>' . __( 'If a media file has not been attached to any post, you will see that in the Attached To column, and can click on Attach File to launch a small popup that will allow you to search for a post and attach the file.' ) . '</p>' 
    166166) ); 
  • wp-admin/edit.php

     
    149149$title = $post_type_object->labels->name; 
    150150 
    151151if ( 'post' == $post_type ) { 
    152  
    153152        get_current_screen()->add_help_tab( array( 
    154         'id'            => 'layout', 
    155         'title'         => __('Layout'), 
     153        'id'            => 'overview', 
     154        'title'         => __('Overview'), 
    156155        'content'       =>  
    157                 '<p>' . __('You can customize the display of this screen in a number of ways:') . '</p>' . 
     156                '<p>' . __('This screen provides access to all of your posts. You can customize the display of this screen to suit your workflow.') . '</p>' . 
     157        ) ); 
     158        get_current_screen()->add_help_tab( array( 
     159        'id'            => 'screen-content', 
     160        'title'         => __('Screen Content'), 
     161        'content'       =>  
     162                '<p>' . __('You can customize the display of this screen&#8217;s contents in a number of ways:') . '</p>' . 
    158163                '<ul>' . 
    159164                        '<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>' . 
    160165                        '<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>' . 
     
    164169        ) ); 
    165170        get_current_screen()->add_help_tab( array( 
    166171        'id'            => 'action-links', 
    167         'title'         => __('Action Links'), 
     172        'title'         => __('Available Actions'), 
    168173        'content'       =>       
    169174                '<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>' . 
    170175                '<ul>' . 
     
    175180                '</ul>'  
    176181        ) ); 
    177182        get_current_screen()->add_help_tab( array( 
    178         'id'            => 'edit-multiple-posts', 
    179         'title'         => __('Edit Multiple Posts'), 
     183        'id'            => 'bulk-actions', 
     184        'title'         => __('Bulk Actions'), 
    180185        'content'       =>  
    181                 '<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>' 
     186                '<p>' . __('You can also edit or move multiple posts to the trash at once. Select the posts you want to act on using the checkboxes, then select the action you want to take from the Bulk Actions menu and click Apply.') . '</p>' 
     187                                '<p>' . __('When using Bulk Edit, you can 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>' 
    182188        ) ); 
    183189 
    184190        get_current_screen()->set_help_sidebar( 
  • wp-admin/update-core.php

     
    427427'id'            => 'overview', 
    428428'title'         => __('Overview'), 
    429429'content'       =>       
    430         '<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>' . 
     430        '<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.') . '</p>' . 
     431        '<p>' . __('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>' . 
     432) ); 
     433 
     434get_current_screen()->add_help_tab( array( 
     435'id'            => 'how-to-update', 
     436'title'         => __('How to Update'), 
     437'content'       =>       
    431438        '<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>' . 
    432439        '<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>' 
    433440) ); 
    434441 
     442 
    435443get_current_screen()->set_help_sidebar( 
    436444        '<p><strong>' . __('For more information:') . '</strong></p>' . 
    437445        '<p>' . __('<a href="http://codex.wordpress.org/Dashboard_Updates_Screen" target="_blank">Documentation on Updating WordPress</a>') . '</p>' .