[wp-trac] [WordPress Trac] #22559: Solve for incorrect uses of media_buttons_context
WordPress Trac
noreply at wordpress.org
Fri Nov 23 17:35:57 UTC 2012
#22559: Solve for incorrect uses of media_buttons_context
-------------------+--------------------------
Reporter: nacin | Type: defect (bug)
Status: new | Priority: normal
Milestone: 3.5 | Component: Media
Version: trunk | Severity: major
Keywords: |
-------------------+--------------------------
media_buttons_context is a filter designed to change the label
'Upload/Insert', which is now gone. Unfortunately a lot of code used this
as a cheap way to insert media buttons, rather than using the
media_buttons filter.
We need to remain compatible here, though it won't be easy. (Such is
life.) We need some research into the common ways of modifying this string
to insert more things.
If you are a developer reading this, please switch to media_buttons. It'll
still work in both 3.4 and 3.5.
This came out of #22186.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22559>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list