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

WordPress Trac noreply at wordpress.org
Mon Mar 30 13:57:05 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 Types                |     Version:
 Severity:  normal                           |  Resolution:
 Keywords:  needs-patch dev-feedback wp-api  |     Focuses:
---------------------------------------------+-----------------------------

Comment (by helen):

 What else would that kind of specification entail? Turning off parts of
 core UI? Explicit checks before assigning the `post_parent`? Why enforce
 this just for attachments, and/or does doing it just for attachments
 possibly affect other kinds of many-to-one relationships the `post_parent`
 field enables?

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


More information about the wp-trac mailing list