[wp-trac] [WordPress Trac] #49380: Introduce `is_post_status_viewable()` and `is_post_viewable()` functions.
WordPress Trac
noreply at wordpress.org
Wed May 13 22:22:16 UTC 2020
#49380: Introduce `is_post_status_viewable()` and `is_post_viewable()` functions.
---------------------------------------------+------------------------
Reporter: peterwilsoncc | Owner: whyisjake
Type: enhancement | Status: accepted
Priority: normal | Milestone: 5.5
Component: Posts, Post Types | Version:
Severity: normal | Resolution:
Keywords: has-unit-tests has-patch commit | Focuses:
---------------------------------------------+------------------------
Comment (by peterwilsoncc):
Need to review this further, as "viewable" actually refers to publicly
queryable, as opposed to public, I just need to double check
`is_post_viewable()` makes sense.
I think `is_*_public()` functions would also make sense but that can be
another ticket for another day.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49380#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list