[wp-trac] [WordPress Trac] #30008: De-registering heartbeat script causes meta boxes to become unresponsive

WordPress Trac noreply at wordpress.org
Fri Oct 17 18:59:43 UTC 2014


#30008: De-registering  heartbeat script causes meta boxes to become unresponsive
---------------------------+------------------------------
 Reporter:  wycks          |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Script Loader  |     Version:  4.0
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:  javascript
---------------------------+------------------------------

Comment (by azaozz):

 Happens because post.js (containing most of the JS for the Add/Edit Post
 screen) requires heartbeat.js. If the latter doesn't exist, the former is
 not loaded.

 We probably can change that requirement, however heartbeat is needed for
 autosave, auth-check, post locks, etc. Deregistering it will disable all
 of them. If the purpose is to reduce AJAX requests, opened #29779 for a
 better way.

 Thinking this should be 'wontfix' in favor of #29779.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30008#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list