[wp-trac] [WordPress Trac] #35567: New argument `is_embeddable` for `register_post_type()`
WordPress Trac
noreply at wordpress.org
Thu Feb 25 17:37:08 UTC 2016
#35567: New argument `is_embeddable` for `register_post_type()`
-------------------------------------------------+-------------------------
Reporter: pampfelimetten | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: Awaiting
Component: Embeds | Review
Severity: normal | Version: 4.4
Keywords: needs-patch good-first-bug needs- | Resolution:
unit-tests | Focuses:
-------------------------------------------------+-------------------------
Comment (by DrewAPicture):
Replying to [comment:9 swissspidy]:
> Replying to [comment:8 DrewAPicture]:
> > I wonder if maybe we should handle this not as a new argument but
instead as a post type support.
>
> That might make sense, but all core features are directly associated
with a functional area of the edit screen (citing the docs for
`add_post_type_support()` here). For embeds, this wouldn't be the case
unless we add a UI of some sorts, e.g. a meta box to conditionally disable
embeds on a per-post basis.
Fair enough.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35567#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list