Make WordPress Core

Ticket #58785: 58785.diff

File 58785.diff, 1.2 KB (added by sabernhardt, 22 months ago)

adding dashicon with aria-hidden and including the word "button" in the text

  • src/wp-admin/edit.php

     
    288288                        'title'   => __( 'Bulk actions' ),
    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 'x' icon 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 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        );
    294298