[wp-trac] [WordPress Trac] #36861: The Insert into post button in the Edit Image window doesn't work.

WordPress Trac noreply at wordpress.org
Fri Jun 10 21:11:30 UTC 2016


#36861: The Insert into post button in the Edit Image window doesn't work.
------------------------------+------------------------------
 Reporter:  tai               |       Owner:  adamsilverstein
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.5.3
Component:  Media             |     Version:  4.5
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  javascript
------------------------------+------------------------------
Changes (by joemcgill):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37678"]:
 {{{
 #!CommitTicketReference repository="" revision="37678"
 Media: Fix rendering of incorrect toolbar in the Edit view.

 This switches event binding in `wp.media.controller.EditImage` to use `on`
 instead of `listenTo` to restore rendering of the correct toolbar when the
 `toolbar:render:edit-image` event fires. The existing listeners broke
 when we upgraded Backbone in [36546].

 Props adamsilverstein.
 Fixes #36861 for trunk.
 }}}

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


More information about the wp-trac mailing list