[buddypress-trac] [BuddyPress Trac] #8021: BP Legacy - Export Data page - Erase Data section missing

buddypress-trac noreply at wordpress.org
Mon Sep 19 21:44:40 UTC 2022


#8021: BP Legacy - Export Data page - Erase Data section missing
--------------------------------------+---------------------
 Reporter:  Venutius                  |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  11.0.0
Component:  Templates                 |     Version:  4.0.0
 Severity:  normal                    |  Resolution:
 Keywords:  good-first-bug has-patch  |
--------------------------------------+---------------------
Changes (by imath):

 * milestone:  Awaiting Contributions => 11.0.0


Comment:

 The patch is using the code shared by @tahmid-ul into his PR + some
 complementary improvements:

 - Avoid `is_super_admin( $user_id )` in favor of a cap check.
 - Remove some commented code which was duplicated from a previous section
 into the legacy settings/data template.
 - Escape URLs and translated string.
 - Do not show the link to delete an account to the administrator viewing
 their account as he is redirected to the member's home page when trying to
 reach the delete-account screen (Admins cannot delete their account form
 front end).

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8021#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list