Make WordPress Core


Ignore:
Timestamp:
08/24/2023 08:25:36 PM (10 months ago)
Author:
joedolson
Message:

Help/About: Match icon and text in Help for bulk edit button.

Change the 'x' in the Help message that instructs a user how to remove an item from a group of bulk edit items to use the dashicon and text equivalent that matches the visual and accessible control name.

Props Presskopp, costdev, sabernhardt, matthewfarlymn, bvreeman22.
Fixes #58785.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit.php

    r56456 r56460  
    289289            'content' =>
    290290                    '<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>' .
    291                             '<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>',
     291                    '<p>' . sprintf(
     292                        /* translators: %s: The dismiss dashicon used for buttons that dismiss or remove. */
     293                        __( '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 %s<span class="screen-reader-text">remove</span> button next to its name in the Bulk Edit area that appears.' ),
     294                        '<span class="dashicons dashicons-dismiss" aria-hidden="true" style="font-size: 16px; width: 16px; vertical-align: middle;"></span>'
     295                    ) . '</p>',
    292296        )
    293297    );
Note: See TracChangeset for help on using the changeset viewer.