[wp-trac] [WordPress Trac] #23216: Create "WP Heartbeat" API
WordPress Trac
noreply at wordpress.org
Wed Aug 7 17:46:52 UTC 2013
#23216: Create "WP Heartbeat" API
--------------------------------------+---------------------
Reporter: azaozz | Owner: nacin
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 3.6
Component: Administration | Version:
Severity: normal | Resolution: fixed
Keywords: autosave-redo needs-docs |
--------------------------------------+---------------------
Comment (by strangerstudios):
FYI, I fixed the original test plugin and uploaded a new one. (I couldn't
replace the original.)
The issue was that the Heartbeat now won't return any data from the server
if no data is passed from the client (the Heartbeat is never kicked off at
all). So I added a section to the bottom of the JS that just sends any old
thing to kick things off.
I also put together an alternative minimal example here that may be useful
for people:
http://www.strangerstudios.com/blog/2013/08/heartbeat-api-for-wordpress/
Cheers!
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23216#comment:121>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list