[wp-trac] [WordPress Trac] #65200: Tests: Add unit tests for wp_heartbeat_set_suspension()

WordPress Trac noreply at wordpress.org
Thu May 7 17:11:04 UTC 2026


#65200: Tests: Add unit tests for wp_heartbeat_set_suspension()
----------------------------+-----------------------------
 Reporter:  pbearne         |      Owner:  (none)
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:
 Severity:  normal          |   Keywords:
  Focuses:  tests           |
----------------------------+-----------------------------
 This ticket adds unit tests for the wp_heartbeat_set_suspension() function
 in wp-admin/includes/misc.php. The tests will verify that the function
 correctly modifies the Heartbeat settings to disable suspension when on
 post.php or post-new.php, and leaves them unchanged otherwise.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/65200>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list