[wp-trac] [WordPress Trac] #49628: Add is_post_type_viewable filter

WordPress Trac noreply at wordpress.org
Tue Nov 9 21:29:05 UTC 2021


#49628: Add is_post_type_viewable filter
-------------------------------------------------+-------------------------
 Reporter:  powerbuoy                            |       Owner:
                                                 |  hellofromTonya
     Type:  feature request                      |      Status:  reopened
 Priority:  normal                               |   Milestone:  5.9
Component:  Posts, Post Types                    |     Version:  5.3.2
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-dev-note 2nd-        |     Focuses:
  opinion                                        |  administration
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):

 * keywords:  has-patch needs-dev-note commit 2nd-opinion => has-patch
     needs-dev-note 2nd-opinion


Comment:

 Removing the `commit` keyword as the patch has been committed.

 It's okay for this ticket to stay open for more feedback of 2nd-opinion
 until Beta 1.

 @Cybr another note: strict comparison is more performant than type
 casting/juggling.

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


More information about the wp-trac mailing list