Move wp_ajax_nopriv_heartbeat() after wp_ajax_heartbeat()
|Reported by:||mordauk||Owned by:|
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.