[wp-trac] [WordPress Trac] #23216: Create "WP Heartbeat" API
WordPress Trac
noreply at wordpress.org
Wed Jul 13 03:46:41 UTC 2016
#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 | Focuses:
--------------------------------------+---------------------
Comment (by soulseekah):
Replying to [comment:125 lukecavanagh]:
> Is there not a way to define a value in seconds, instead of the
hardcoded default of 15 seconds?
Use the `wp.heartbeat.interval` function
https://github.com/WordPress/WordPress/blob/703d5bdc8deb17781e9c6d8f0dd7e2c6b6353885
/wp-includes/js/heartbeat.js#L597
--
Ticket URL: <https://core.trac.wordpress.org/ticket/23216#comment:126>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list