[wp-trac] [WordPress Trac] #65197: Tests: Add unit tests for wp_refresh_post_nonces()
WordPress Trac
noreply at wordpress.org
Thu May 7 16:34:38 UTC 2026
#65197: Tests: Add unit tests for wp_refresh_post_nonces()
----------------------------+-----------------------------
Reporter: pbearne | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version:
Severity: normal | Keywords:
Focuses: |
----------------------------+-----------------------------
This ticket adds comprehensive unit tests for the wp_refresh_post_nonces()
function in wp-admin/includes/misc.php. These tests ensure that the
function correctly returns refreshed nonces for post locking and unlocking
when appropriate Heartbeat data is provided and the user has the necessary
permissions.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65197>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list