[wp-trac] [WordPress Trac] #39418: Improve "Empty Spam" and "Empty Trash" user experience (was: Make Empty Spam & Empty Trash AJAX)

WordPress Trac noreply at wordpress.org
Thu Aug 16 05:17:18 UTC 2018


#39418: Improve "Empty Spam" and "Empty Trash" user experience
-------------------------------------------------+-------------------------
 Reporter:  johnjamesjacoby                      |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Administration                       |     Version:  2.5
 Severity:  normal                               |  Resolution:
 Keywords:  needs-patch 2nd-opinion ui-feedback  |     Focuses:  ui
  has-ux-feedback needs-screenshots              |
-------------------------------------------------+-------------------------

Comment (by cfinke):

 Instead of actually doing the work of deleting all of the spam messages
 when "Empty Spam" is clicked, what about updating the `comment_approved`
 field of all spam comments to be something like `spam-pending-delete`, and
 then have the WP cron delete any comments with `comment_approved=spam-
 pending-delete` in batches.

 That should reduce the delay significantly from the time when the user
 clicks the button to when their Spam folder appears to be empty, and it
 wouldn't require any new UI.

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


More information about the wp-trac mailing list