[wp-trac] [WordPress Trac] #39418: Make Empty Spam & Empty Trash AJAX

WordPress Trac noreply at wordpress.org
Wed Dec 28 18:04:56 UTC 2016


#39418: Make Empty Spam & Empty Trash AJAX
-------------------------+-------------------------------------------------
 Reporter:               |      Owner:
  johnjamesjacoby        |     Status:  new
     Type:  enhancement  |  Milestone:  Awaiting Review
 Priority:  normal       |    Version:  2.5
Component:               |   Keywords:  needs-patch 2nd-opinion ui-feedback
  Administration         |  ux-feedback needs-screenshots
 Severity:  normal       |
  Focuses:  ui           |
-------------------------+-------------------------------------------------
 Now that plugins are doing more with post types, and dealing with
 sometimes hundreds of thousands of entries in the posts table. Emptying
 spam and/or trash, as an action, is starting to feel a little outdated.

 When there is a need to empty many spam or trashed items, it's not
 uncommon for this page to timeout, or to reload in the browser in such a
 way that rendering is blocked while the server processes the mass deletion
 of content.

 In my imagination, it would be a nice improvement to fallback to the
 current behavior for `noscript`, but to leverage the power of javascript
 being asynchronous to provide some kind of modal window to chug through
 the process, maybe with a progress bar and some basic error feedback if
 the empty action fails for any reason.

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


More information about the wp-trac mailing list