Make WordPress Core

Ticket #55800: 55800.1.diff

File 55800.1.diff, 1.8 KB (added by costdev, 23 months ago)

Added missing period on "Edit" action.

  • src/wp-admin/upload.php

    diff --git a/src/wp-admin/upload.php b/src/wp-admin/upload.php
    index 18dba6a640..8ab9f0fa81 100644
    a b get_current_screen()->add_help_tab( 
    234234                                '<p>' . __( 'You can view your media in a simple visual grid or a list with columns. Switch between these views using the icons to the left above the media.' ) . '</p>',
    235235        )
    236236);
     237$help = '<p>' . __( 'Hovering over a row reveals action links that allow you to manage media items. You can perform the following actions:' ) . '</p>' .
     238        '<ul>' .
     239        '<li>' . __( '<strong>Edit</strong> takes you to simple screen to edit that individual file&#8217;s metadata. You can also reach that screen by clicking on the media file name or thumbnail.' ) . '</li>' .
     240        '<li>' . __( '<strong>Delete Permanently</strong> will delete the file from the media library (as well as from any posts to which it is currently attached).' ) . '</li>' .
     241        '<li>' . __( '<strong>View</strong> will take you to a public display page for that file.' ) . '</li>' .
     242        '<li>' . __( '<strong>Copy URL to clipboard</strong> copies the URL for the media file to your clipboard.' ) . '</li>' .
     243        '</ul>';
     244
    237245get_current_screen()->add_help_tab(
    238246        array(
    239247                'id'      => 'actions-links',
    240248                'title'   => __( 'Available Actions' ),
    241                 'content' =>
    242                                 '<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>',
     249                'content' => $help,
    243250        )
    244251);
    245252get_current_screen()->add_help_tab(