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

WordPress Trac noreply at wordpress.org
Tue Nov 18 10:59:39 UTC 2025


#51403: Add filter for _post_states as it outputs raw HTML
-------------------------------+--------------------------
 Reporter:  brandbrilliance    |       Owner:  westonruter
     Type:  enhancement        |      Status:  reopened
 Priority:  normal             |   Milestone:  6.9
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  dev-feedback       |     Focuses:  template
-------------------------------+--------------------------
Changes (by johnbillion):

 * keywords:  good-first-bug has-test-info has-patch has-unit-tests => dev-
     feedback
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 @westonruter Reopening to request that r61261 is backported to the 6.9
 branch. This particular syntax error trips up PHP-Parser which is used by
 various tools to parse docblocks in core.

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


More information about the wp-trac mailing list