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

WordPress Trac noreply at wordpress.org
Tue Sep 23 08:40:43 UTC 2025


#51403: Add filter for _post_states as it outputs raw HTML
-------------------------------------------------+-------------------------
 Reporter:  brandbrilliance                      |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Posts, Post Types                    |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug has-test-info has-    |     Focuses:  template
  patch has-unit-tests                           |
-------------------------------------------------+-------------------------
Changes (by paulbonneau):

 * keywords:  good-first-bug has-test-info has-patch => good-first-bug has-
     test-info has-patch has-unit-tests


Comment:

 Added test and a doc block above the new filter as suggested by
 @mukeshpanchal27 in the Github PR https://github.com/WordPress/wordpress-
 develop/pull/10000

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


More information about the wp-trac mailing list