[wp-trac] [WordPress Trac] #65198: Tests: Add unit tests for wp_refresh_metabox_loader_nonces()
WordPress Trac
noreply at wordpress.org
Thu May 7 16:55:16 UTC 2026
#65198: Tests: Add unit tests for wp_refresh_metabox_loader_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_metabox_loader_nonces() function in wp-admin/includes/misc.php.
These tests ensure that the function correctly returns refreshed nonces
(meta-box-loader and update-post_{$post_id}) when valid data is provided
and the user has edit permissions.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65198>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list