[wp-trac] [WordPress Trac] #43923: Add a step to the Data Removal/Erasure UX for deleting a user account
WordPress Trac
noreply at wordpress.org
Fri May 4 10:58:13 UTC 2018
#43923: Add a step to the Data Removal/Erasure UX for deleting a user account
------------------------------------------+---------------------
Reporter: coreymckrill | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 4.9.7
Component: General | Version:
Severity: normal | Resolution:
Keywords: gdpr has-patch needs-testing | Focuses:
------------------------------------------+---------------------
Comment (by iandunn):
I think it'd be good to add a `current_user_can( 'delete_user', $user->id
)` check before displaying the link, to avoid showing the admin a link for
something they won't be able to do, if a plugin has removed that cap from
them.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43923#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list