[wp-trac] [WordPress Trac] #54375: Add is_post_status_viewable filter

WordPress Trac noreply at wordpress.org
Mon Nov 8 05:17:19 UTC 2021


#54375: Add is_post_status_viewable filter
-----------------------------------------------+---------------------------
 Reporter:  peterwilsoncc                      |       Owner:
                                               |  hellofromTonya
     Type:  enhancement                        |      Status:  reviewing
 Priority:  normal                             |   Milestone:  5.9
Component:  Posts, Post Types                  |     Version:
 Severity:  normal                             |  Resolution:
 Keywords:  needs-patch needs-dev-note commit  |     Focuses:
-----------------------------------------------+---------------------------

Comment (by peterwilsoncc):

 Functional changes in [attachment:"54375.1.diff"] look good to me.

 In [attachment:"54375.2.diff"] I've added an explanation that the filter
 must return `true`, for the same reasons as discussed on #49628.

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


More information about the wp-trac mailing list