[wp-trac] [WordPress Trac] #36533: Doesn't work browse media libary on Frontend

WordPress Trac noreply at wordpress.org
Fri May 6 14:41:12 UTC 2016


#36533: Doesn't work browse media libary on Frontend
--------------------------+------------------------------
 Reporter:  purevtsooj    |       Owner:  adamsilverstein
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  4.5.2
Component:  Media         |     Version:  4.5
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  javascript
--------------------------+------------------------------
Changes (by adamsilverstein):

 * owner:   => adamsilverstein
 * status:  new => assigned


Comment:

 Tested this issue and reproduced by adding the table class and installing
 the wp front-end editor plugin. Before the patch, the media modal fails to
 open, with the patch the issue is fixed.

 The code in question is used when opening the modal to check if its
 already open and return it if so. The jQuery bug breaks this line and
 adding the additional check fixes that be ensuring the modal only returns
 the expected element if it is actually present in the DOM.

 Although this fix works, I think the upstream fix is preferable to this
 check if it available in time for including in a point release.

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


More information about the wp-trac mailing list