Automattic / gutenberg-ramp

Control conditions under which Gutenberg loads - either from your theme code or from a UI
https://wordpress.org/plugins/gutenberg-ramp/
76 stars 15 forks source link

Unsupported post types notice #59

Closed pyronaur closed 5 years ago

pyronaur commented 6 years ago

Fixes #56 by adding a notice letting users know that post type has been found but isn't supported by Gutenberg.

Not all post types are expected to be visible in the dashboard, which is why I decided to use get_post_types('public' => true); as the criteria for "all post types". I think that showing notices only for public should cover most if not all of the false positives.

screen shot 2018-06-20 at 4 14 06 pm