Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #44000, comment 3


Ignore:
Timestamp:
05/10/2018 11:54:38 AM (7 years ago)
Author:
birgire
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #44000, comment 3

    initial v1  
    11[attachment:44000.2.diff] is a suggestion that uses the {{{wp_count_user_requests()}}} function approach in #44034. The patch there would need to be applied here as well to test.
    22
    3 This counts the ''confirmed'' user requests for both export and erase, and add them together.
     3This counts the ''confirmed'' user requests for both export and erase, and adds them together.
    44
    55It also checks for the {{{erase_others_personal_data}}} and {{{erase_others_personal_data}}} capabilities, before displaying the bubble count.
    66
    7 So this approach can handle the case if user has e.g. {{{erase_others_personal_data}}} but not {{{erase_others_personal_data}}}, so it would only display the bubble count for confirmed erase requests.
     7So this approach can handle the case if user has e.g. {{{erase_others_personal_data}}} but not {{{export_others_personal_data}}}, so it would only display the bubble count for confirmed erase requests.
    88
    99Further adjustments would be to add bubble counts to the sub-menus.