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

WordPress Trac noreply at wordpress.org
Wed Dec 28 18:05:37 UTC 2016


#39418: Make Empty Spam & Empty Trash AJAX
-------------------------------------------------+-------------------------
 Reporter:  johnjamesjacoby                      |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Administration                       |  Review
 Severity:  normal                               |     Version:  2.5
 Keywords:  needs-patch 2nd-opinion ui-feedback  |  Resolution:
  ux-feedback needs-screenshots                  |     Focuses:  ui
-------------------------------------------------+-------------------------
Description changed by johnjamesjacoby:

Old description:

> 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.

New description:

 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 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#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list