[wp-trac] [WordPress Trac] #25047: Improve heartbeat queue checking

WordPress Trac noreply at wordpress.org
Tue Aug 20 22:27:58 UTC 2013


#25047: Improve heartbeat queue checking
--------------------------+-----------------------
 Reporter:  evansolomon   |       Owner:  azaozz
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  3.7
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------

Comment (by azaozz):

 Was actually thinking the same: isQueued() can return only boolean. Didn't
 want to change how it works but may be worth it. Then `getQueuedItem()`
 can directly return `queue[ handle ]`, i.e. undefined if handle is not in
 queue.

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


More information about the wp-trac mailing list