[wp-trac] [WordPress Trac] #24472: Filter for wp_editor() arguments on attachment edit screen
WordPress Trac
noreply at wordpress.org
Sun Jun 29 09:41:33 UTC 2014
#24472: Filter for wp_editor() arguments on attachment edit screen
------------------------------------+-----------------------------------
Reporter: navitronic | Owner: DrewAPicture
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 4.0
Component: Media | Version: 3.5.1
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses: docs, administration
------------------------------------+-----------------------------------
Changes (by DrewAPicture):
* keywords: has-patch => has-patch dev-feedback
Comment:
Looking at [attachment:24472-3.diff], I don't think we need two filters
here.
Seems like a single filter at the end of the function would suffice,
perhaps with an array merge to prevent filtering of `textarea_name` (like
we do with things like `admin_body_class`), and maybe passing `$settings`
in addition to `$set`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/24472#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list