[wp-trac] [WordPress Trac] #35567: New argument `is_embeddable` for `register_post_type()`
WordPress Trac
noreply at wordpress.org
Thu Feb 25 10:29:56 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:
-------------------------------------------------+-------------------------
Changes (by swissspidy):
* keywords: needs-patch good-first-bug needs-testing needs-unit-tests =>
needs-patch good-first-bug needs-unit-tests
Comment:
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35567#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list