[wp-trac] [WordPress Trac] #49380: Introduce `is_post_status_viewable()` and `is_post_viewable()` functions.
WordPress Trac
noreply at wordpress.org
Fri Feb 19 18:44:39 UTC 2021
#49380: Introduce `is_post_status_viewable()` and `is_post_viewable()` functions.
-------------------------------------------------+-------------------------
Reporter: peterwilsoncc | Owner:
| peterwilsoncc
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.7
Component: Posts, Post Types | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests has-dev- | Focuses:
note |
-------------------------------------------------+-------------------------
Comment (by Cybr):
Since taxonomies behave much like posts and have a similarly named
function, `is_taxonomy_viewable()`, will those receive changes akin to
this ticket, or has this ticket/patch left an accidental discrepancy?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49380#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list