[wp-trac] [WordPress Trac] #23932: Support for remove_post_type_support() in attachment post type
WordPress Trac
noreply at wordpress.org
Sun Jun 14 20:32:03 UTC 2015
#23932: Support for remove_post_type_support() in attachment post type
--------------------------------------+-----------------------
Reporter: flyingtrolleycars | Owner: antpb
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.3
Component: Media | Version: 3.5.1
Severity: normal | Resolution:
Keywords: good-first-bug has-patch | Focuses:
--------------------------------------+-----------------------
Changes (by nacin):
* milestone: Awaiting Review => 4.3
Comment:
It doesn't look like there is much of a demand for this, so I suggested to
@antpb that we simply fix this for 'title', since it's an existing
supports argument.
Adding new 'supports' arguments is a bit tenuous, and has gotten us to
consider things like a separate 'disables' flag. (This came up with #21391
and elsewhere, but hasn't had a real need yet.)
In this case, I don't see a major reason to disable other fields, though.
And if you needed to, you could still hide or remove them via JS or PHP.
There's also the old disable_captions filter we kept around after 3.5.
Committing [attachment:23932-6.patch].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/23932#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list