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

WordPress Trac noreply at wordpress.org
Wed Sep 26 23:51:07 UTC 2018


#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:  4.9.9
Component:  Users                                |     Version:  4.6
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-unit-  |     Focuses:
  tests                                          |  administration
-------------------------------------------------+-------------------------

Comment (by garrett-eclipse):

 Thanks for the feedback today @SergeyBiryukov I've updated the patch to
 wrap the mysql calls in a conditional so if the plugin supplies 'true' to
 the filter then we can avoid those additional database calls.

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


More information about the wp-trac mailing list