Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #25047, comment 6


Ignore:
Timestamp:
08/20/2013 09:26:09 PM (11 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25047, comment 6

    initial v1  
    22
    33In addition, `obj.hasOwnProperty()` works pretty much like `isset()` in PHP, i.e. it doesn't care what the value is, only checks whether the property exists. So it would be best to use hasOwnProperty directly in `wp.heartbeat.enqueue()` and return `undefined` from `wp.heartbeat.isQueued()`.
     4
     5Also added `wp.heartbeat.dequeue()` in 25047-3.patch.