Ticket #46041: 46041.1.diff
File 46041.1.diff, 1.2 KB (added by , 6 years ago) |
---|
-
src/wp-admin/includes/user.php
799 799 wp_die( __( 'Sorry, you are not allowed to export personal data on this site.' ) ); 800 800 } 801 801 802 set_current_screen( 'export_personal_data' ); 803 804 get_current_screen()->set_screen_reader_content( 805 array( 806 'heading_views' => __( 'Filter export personal data list' ), 807 'heading_pagination' => __( 'Export personal data list navigation' ), 808 'heading_list' => __( 'Export personal data list' ), 809 ) 810 ); 811 802 812 _wp_personal_data_handle_actions(); 803 813 _wp_personal_data_cleanup_requests(); 804 814 … … 873 883 wp_die( __( 'Sorry, you are not allowed to erase data on this site.' ) ); 874 884 } 875 885 886 set_current_screen( 'remove_personal_data' ); 887 888 get_current_screen()->set_screen_reader_content( 889 array( 890 'heading_views' => __( 'Filter erase personal data list' ), 891 'heading_pagination' => __( 'Erase personal data list navigation' ), 892 'heading_list' => __( 'Erase personal data list' ), 893 ) 894 ); 895 876 896 _wp_personal_data_handle_actions(); 877 897 _wp_personal_data_cleanup_requests(); 878 898