[wp-trac] [WordPress Trac] #23216: Create "WP Heartbeat" API

WordPress Trac noreply at wordpress.org
Wed May 29 18:16:06 UTC 2013


#23216: Create "WP Heartbeat" API
----------------------------+------------------
 Reporter:  azaozz          |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  3.6
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  autosave-redo   |
----------------------------+------------------

Comment (by nacin):

 Looking over the ajax action handlers:

  * Can we use some kind of separator for things like screenid and
 servertime? It looks sloppy.

  * Can we do a convert_to_screen() and pass an actual WP_Screen object to
 the action, rather than just $screen_id?

  * `$data['user_id']` should just equal get_current_user_id().

  * If no screen, we should use 'front' (per WP_Screen convention), not
 'site'.

 I'd still like to split up heartbeat_received into individual actions. Can
 we just loop through the events?

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


More information about the wp-trac mailing list