[wp-trac] [WordPress Trac] #51403: Add filter for _post_states as it outputs raw HTML
WordPress Trac
noreply at wordpress.org
Mon Nov 17 22:04:52 UTC 2025
#51403: Add filter for _post_states as it outputs raw HTML
-------------------------------------------------+-------------------------
Reporter: brandbrilliance | Owner:
| westonruter
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.9
Component: Posts, Post Types | Version:
Severity: normal | Resolution: fixed
Keywords: good-first-bug has-test-info has- | Focuses: template
patch has-unit-tests |
-------------------------------------------------+-------------------------
Comment (by desrosj):
The miscellaneous developer-focused changes developer note mentioned the
new `post_states_html` hook introduced in [60986]/[60993] but did not
cover its usage in depth: https://make.wordpress.org/core/2025/11/17
/miscellaneous-developer-focused-changes-in-6-9/.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51403#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list