[wp-trac] [WordPress Trac] #35567: New argument `is_embeddable` for `register_post_type()`
WordPress Trac
noreply at wordpress.org
Tue Feb 23 17:29:30 UTC 2016
#35567: New argument `is_embeddable` for `register_post_type()`
-------------------------------------------------+-------------------------
Reporter: pampfelimetten | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
Component: Embeds | Review
Severity: normal | Version: 4.4.1
Keywords: needs-patch good-first-bug needs- | Resolution:
testing needs-unit-tests | Focuses:
-------------------------------------------------+-------------------------
Changes (by bradleyt):
* keywords: needs-patch good-first-bug => needs-patch good-first-bug
needs-testing needs-unit-tests
Comment:
I think the attahced diff does what is required.
One thing I was unsure of was if the {{{register_post_type}}} arguments
are in any particular order?
I am also uncomfortable adding tests, so maybe someone else could do this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35567#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list