[wp-trac] [WordPress Trac] #36860: Introduce filter for users_have_content within delete action of users.php

WordPress Trac noreply at wordpress.org
Tue Mar 19 15:29:03 UTC 2019


#36860: Introduce filter for users_have_content within delete action of users.php
-------------------------------------+------------------------------
 Reporter:  garrett-eclipse          |       Owner:  garrett-eclipse
     Type:  enhancement              |      Status:  accepted
 Priority:  normal                   |   Milestone:  5.2
Component:  Users                    |     Version:  4.6
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  administration
-------------------------------------+------------------------------

Comment (by birgire):

 @garrett-eclipse I will have a look and test it.

 The following question comes to mind:

 If we have some some custom user content, that's only added via some
 plugin and not stored in the posts or links table, how would one handle
 the actual reassignment for this data?

 I think it would be nice to have a simple example to better understand how
 one could approach this problem, e.g. using this filter and how to
 reassign the data.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/36860#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list