[wp-trac] [WordPress Trac] #24746: Move wp_ajax_nopriv_heartbeat() after wp_ajax_heartbeat()

WordPress Trac noreply at wordpress.org
Sat Jul 13 14:56:04 UTC 2013


#24746: Move wp_ajax_nopriv_heartbeat() after wp_ajax_heartbeat()
-------------------------+-----------------------------
 Reporter:  mordauk      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:  trunk
 Severity:  minor        |   Keywords:
-------------------------+-----------------------------
 I was looking through ajax-actions.php and noticed that
 `wp_ajax_nopriv_heartbeat()` is at the very top, while
 `wp_ajax_heartbeat()` is around line 2055.

 For organization's sake, should the two functions be right next to each
 other?

 I was first looking at `wp_ajax_heartbeat()` and didn't even realize there
 was a nopriv version until I did a search across the whole code base.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24746>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list