[wp-trac] [WordPress Trac] #23216: Create "WP Heartbeat" API
WordPress Trac
noreply at wordpress.org
Wed Jul 17 19:45:36 UTC 2013
#23216: Create "WP Heartbeat" API
--------------------------------------+-----------------------
Reporter: azaozz | Owner:
Type: task (blessed) | Status: reopened
Priority: normal | Milestone: 3.6
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: autosave-redo needs-docs |
--------------------------------------+-----------------------
Comment (by carldanley):
The above patch can be combined with the `23216-cleanup-fixes.diff`
(http://core.trac.wordpress.org/attachment/ticket/23216/23216-cleanup-
fixes.diff ) to patch the small errors in this file. It removes the direct
property access to `autostart` and `connectionLost` that could be
difficult to deal with in the future for API reasons. I introduced the
functions `hasActiveConnection()` and `shouldAutoStart()` instead so that
we have flexibility going forward. I also patched the missing semi-colons
in the current iteration.
This is a much smaller changeset aimed at 3.6. The other cleanup diff can
be used for early 3.7 when it's not so late in the game.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23216#comment:109>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list