[wp-trac] [WordPress Trac] #24695: Disabling the Save and Publish buttons when heartbeat connection is in error state

WordPress Trac noreply at wordpress.org
Thu Jul 18 12:16:51 UTC 2013


#24695: Disabling the Save and Publish buttons when heartbeat connection is in
error state
----------------------------+-------------------------
 Reporter:  azaozz          |       Owner:  carldanley
     Type:  defect (bug)    |      Status:  reviewing
 Priority:  normal          |   Milestone:  3.6
Component:  Administration  |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+-------------------------

Comment (by carldanley):

 The patch I just uploaded takes care of ensuring that we only pulse these
 triggered events if we've connected to the server on this page load at
 least once before. I tested this by throwing a sleep(40) into
 `wp_ajax_heartbeat()`. If you want to test what it did before, just set
 `heartbeatHasRunSuccessfully` to `true` by default (instead of `false`).

 Let me know if anything needs to be changed.

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


More information about the wp-trac mailing list