Skip to content
This repository was archived by the owner on Sep 24, 2018. It is now read-only.

Inconsistent publicness checks between types and taxonomies #1895

Description

@danielbachhuber

Taxonomies use show_in_rest to determine whether the taxonomy is accessible from /wp/v2/taxonomies

Types use public to determine whether the post type is accessible from /wp/v2/types.

I'd think we should use show_in_rest to determine whether a type is exposed. public was introduced in fb4f59b

Discovered in #1894

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Sponsor
    SponsoredKunjungi sekarang
    Promo