[wp-trac] [WordPress Trac] #35567: New argument `is_embeddable` for `register_post_type()`

WordPress Trac noreply at wordpress.org
Sat Feb 27 20:27:50 UTC 2016


#35567: New argument `is_embeddable` for `register_post_type()`
-------------------------------------------------+-------------------------
 Reporter:  pampfelimetten                       |       Owner:  bradleyt
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
Component:  Embeds                               |  Release
 Severity:  normal                               |     Version:  4.4
 Keywords:  good-first-bug has-patch has-unit-   |  Resolution:
  tests                                          |     Focuses:
-------------------------------------------------+-------------------------

Comment (by DrewAPicture):

 @swissspidy What do you think about `is_object_embeddable()` instead? I'd
 hate to stick ourselves with "posts" vernacular. Right now we only support
 post object embeds, but who's to say we won't add support for embedding
 comments, terms, sites, or anything else we can think of in the future?
 :-)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35567#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list