[wp-trac] [WordPress Trac] #24472: Filter for wp_editor() arguments on attachment edit screen
WordPress Trac
noreply at wordpress.org
Thu Feb 27 05:50:04 UTC 2014
#24472: Filter for wp_editor() arguments on attachment edit screen
-------------------------+-----------------------------
Reporter: navitronic | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.9
Component: Media | Version: 3.5.1
Severity: normal | Resolution:
Keywords: has-patch | Focuses: administration
-------------------------+-----------------------------
Comment (by DH-Shredder):
helen: Agreed. Went ahead and forced `textarea_name` in
[attachment:24472.2.diff].
Per your comment, we could force an array of args if you think that other
fields like `media_buttons` also should not be allowed to be changed.
Alternately, we could whitelist filtered parameters, but I can see
potential use cases for the rest.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/24472#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list