[wp-trac] [WordPress Trac] #51403: Add filter for _post_states as it outputs raw HTML

WordPress Trac noreply at wordpress.org
Mon Oct 20 19:05:00 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                           |
-------------------------------------------------+-------------------------
Changes (by westonruter):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"60986" 60986]:
 {{{
 #!CommitTicketReference repository="" revision="60986"
 Posts, Post Types: Add `post_states_string` filter for HTML string of post
 states.

 Developed in https://github.com/WordPress/wordpress-develop/pull/10000

 Props paulbonneau, mukesh27, westonruter, SirLouen, dmsnell,
 brandbrilliance, shsajalchowdhury, aialvi, ugyensupport.
 Fixes #51403.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51403#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list