[wp-trac] [WordPress Trac] #35567: New argument `is_embeddable` for `register_post_type()` (was: New argument is_embedable for register_post_type)
WordPress Trac
noreply at wordpress.org
Sun Feb 14 15:08:47 UTC 2016
#35567: New argument `is_embeddable` for `register_post_type()`
----------------------------------------+------------------------------
Reporter: pampfelimetten | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version: 4.4.1
Severity: normal | Resolution:
Keywords: needs-patch good-first-bug | Focuses:
----------------------------------------+------------------------------
Changes (by swissspidy):
* keywords: => needs-patch good-first-bug
Comment:
That's an interesting suggestion and I not something that has come up
before.
Currently, all publicly viewable posts are embeddable. A new
`is_embeddable` flag could inherit from the `public` property.
I think a patch would be a great base for further discussion.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35567#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list