mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Privacy: Add missing header text for screen readers to privacy list tables.
In [34891], `WP_Screen` was updated with methods to store, retrieve, and render screen reader text used by screens with `WP_List_Table` instances. When the export/erase personal data list tables were introduced in [42967], these headings were missing. Fixes #46041. Props afercia, xkon, garrett-eclipse, desrosj. Built from https://develop.svn.wordpress.org/trunk@44821 git-svn-id: http://core.svn.wordpress.org/trunk@44653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
df240768e3
commit
2b100c8151
@ -812,6 +812,15 @@ function _wp_personal_data_export_page() {
|
||||
'screen' => 'export_personal_data',
|
||||
)
|
||||
);
|
||||
|
||||
$requests_table->screen->set_screen_reader_content(
|
||||
array(
|
||||
'heading_views' => __( 'Filter export personal data list' ),
|
||||
'heading_pagination' => __( 'Export personal data list navigation' ),
|
||||
'heading_list' => __( 'Export personal data list' ),
|
||||
)
|
||||
);
|
||||
|
||||
$requests_table->process_bulk_action();
|
||||
$requests_table->prepare_items();
|
||||
?>
|
||||
@ -887,6 +896,14 @@ function _wp_personal_data_removal_page() {
|
||||
)
|
||||
);
|
||||
|
||||
$requests_table->screen->set_screen_reader_content(
|
||||
array(
|
||||
'heading_views' => __( 'Filter erase personal data list' ),
|
||||
'heading_pagination' => __( 'Erase personal data list navigation' ),
|
||||
'heading_list' => __( 'Erase personal data list' ),
|
||||
)
|
||||
);
|
||||
|
||||
$requests_table->process_bulk_action();
|
||||
$requests_table->prepare_items();
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.2-alpha-44818';
|
||||
$wp_version = '5.2-alpha-44821';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user