diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index 7ebc320cc7..354245007b 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -253,6 +253,22 @@ if ( 'post' == $post_type ) { '
' . __('Documentation on Editing Pages') . '
' . '' . __('Support Forums') . '
' ); +} elseif ( 'attachment' == $post_type ) { + get_current_screen()->add_help_tab( array( + 'id' => 'overview', + 'title' => __('Overview'), + 'content' => + '' . __('This screen allows you to edit four fields for metadata in a file within the media library.') . '
' . + '' . __('For images only, you can click on Edit Image under the thumbnail to expand out an inline image editor with icons for cropping, rotating, or flipping the image as well as for undoing and redoing. The boxes on the right give you more options for scaling the image, for cropping it, and for cropping the thumbnail in a different way than you crop the original image. You can click on Help in those boxes to get more information.') . '
' . + '' . __('Note that you crop the image by clicking on it (the Crop icon is already selected) and dragging the cropping frame to select the desired part. Then click Save to retain the cropping.') . '
' . + '' . __('Remember to click Update Media to save metadata entered or changed.') . '
' + ) ); + + get_current_screen()->set_help_sidebar( + '' . __('For more information:') . '
' . + '' . __('Documentation on Edit Media') . '
' . + '' . __('Support Forums') . '
' + ); } require_once('./admin-header.php');