[wp-trac] [WordPress Trac] #24758: Revisions needs to gracefully handle AJAX failures.
    WordPress Trac 
    noreply at wordpress.org
       
    Mon Jul 15 22:39:06 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 markjaquith):
 [attachment: 24758.2.diff] implements Nacin's suggestion. on `.fail()`, it
 cuts the number in half. I tested this by setting the AJAX callback to
 fail if the number of requested comparisons was greater than 5. It cut
 down from 40 to 20, then 20 to 10, then 10 to 5, which worked, so it did
 the rest of them by 5. Nice.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24758#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
    
    
More information about the wp-trac
mailing list