[wp-trac] [WordPress Trac] #64026: Function `get_post_states` doesn't have unit tests
WordPress Trac
noreply at wordpress.org
Tue Sep 23 08:50:15 UTC 2025
#64026: Function `get_post_states` doesn't have unit tests
-------------------------------+------------------------------
Reporter: paulbonneau | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: trunk
Severity: trivial | Keywords: needs-unit-tests
Focuses: tests |
-------------------------------+------------------------------
Hi everyone,
I noticed that the `get_post_states` ( currently in /wp-
admin/includes/template.php l.2293) doesn't have unit tests.
I think it could be useful to provide tests for this function.
I will try to provide a patch / PR as soon as possible. If someone can do
it quicker don't hesitate to do so !
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64026>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list