[wp-trac] [WordPress Trac] #44466: Have a method to check if a taxonomy is viewable
WordPress Trac
noreply at wordpress.org
Tue Jul 3 10:28:42 UTC 2018
#44466: Have a method to check if a taxonomy is viewable
-------------------------------------------------+-------------------------
Reporter: andizer | Owner: andizer
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.0
Component: Taxonomy | Version:
Severity: normal | Resolution: fixed
Keywords: good-first-bug has-patch has-unit- | Focuses:
tests |
-------------------------------------------------+-------------------------
Changes (by flixos90):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"43386" 43386]:
{{{
#!CommitTicketReference repository="" revision="43386"
Taxonomy: Introduce `is_taxonomy_viewable()`.
This utility function allows for easy detection whether terms for a
taxonomy are considered publicly viewable.
Props andizer.
Fixes #44466.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44466#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list