[wp-trac] [WordPress Trac] #31804: Explicitly declare whether or not a post type supports attachments

WordPress Trac noreply at wordpress.org
Mon Mar 30 10:53:57 UTC 2015


#31804: Explicitly declare whether or not a post type supports attachments
-----------------------------+---------------------------------------------
 Reporter:  danielbachhuber  |      Owner:
     Type:  enhancement      |     Status:  new
 Priority:  normal           |  Milestone:  Future Release
Component:  Posts, Post      |    Version:
  Types                      |   Keywords:  needs-patch dev-feedback wp-api
 Severity:  normal           |
  Focuses:                   |
-----------------------------+---------------------------------------------
 In WP-API, we'd like to add a link to all attachments associated with a
 given Post, Page, or other post type. However, there's no way currently to
 determine whether a post type ''supports'' attachments. We should make
 this more explicit.

 From https://github.com/WP-API/WP-API/pull/1026/files#r27358934

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31804>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list