[wp-trac] [WordPress Trac] #23096: Provide callback before setting state of the editor media manager

WordPress Trac noreply at wordpress.org
Wed Oct 1 19:07:15 UTC 2014


#23096: Provide callback before setting state of the editor media manager
-------------------------+-----------------------------
 Reporter:  griffinjt    |       Owner:  wonderboymusic
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  4.1
Component:  Media        |     Version:  3.5
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:
-------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"29802"]:
 {{{
 #!CommitTicketReference repository="" revision="29802"
 Add a namespace to the click handler registration for `.insert-media` in
 `media-editor.js`: `click.add-media-button`.

 This is a stopgap to allow devs to override the default behavior.

 Fixes #23096.
 }}}

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


More information about the wp-trac mailing list