[wp-trac] [WordPress Trac] #49380: Introduce `is_post_status_viewable()` and `is_post_viewable()` functions.

WordPress Trac noreply at wordpress.org
Wed May 20 02:37:26 UTC 2020


#49380: Introduce `is_post_status_viewable()` and `is_post_viewable()` functions.
-------------------------------+-----------------------------
 Reporter:  peterwilsoncc      |       Owner:  peterwilsoncc
     Type:  enhancement        |      Status:  assigned
 Priority:  normal             |   Milestone:  Future Release
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  close              |     Focuses:
-------------------------------+-----------------------------
Changes (by peterwilsoncc):

 * keywords:  has-unit-tests has-patch commit => close
 * owner:  whyisjake => peterwilsoncc
 * status:  accepted => assigned
 * milestone:  5.5 => Future Release


Comment:

 Reviewing `WP::parse_query`, it doesn't look like the post status object's
 `publicly_queryable` property is used anywhere.

 Removing from milestone and the commit keyword as a result. I'll close it
 once I've got clarification.

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


More information about the wp-trac mailing list