[wp-trac] [WordPress Trac] #24758: Revisions needs to gracefully handle AJAX failures.

WordPress Trac noreply at wordpress.org
Tue Jul 16 09:52:37 UTC 2013


#24758: Revisions needs to gracefully handle AJAX failures.
--------------------------+--------------------
 Reporter:  markjaquith   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.6
Component:  Revisions     |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+--------------------

Comment (by ocean90):

 To test this, I simply produced a fatal error in
 `wp_ajax_get_revision_diffs`.  On a post with 200 revisions the number
 goes down: 20, 10, 5, 3, 2, 1. Works so far. But I didn't get the error
 message and it still hammers the server with a request.  Shouldn't we stop
 after X failed request?

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24758#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list