[wp-trac] [WordPress Trac] #36533: Doesn't work browse media libary on Frontend
WordPress Trac
noreply at wordpress.org
Mon Apr 18 20:47:52 UTC 2016
#36533: Doesn't work browse media libary on Frontend
-------------------------------+------------------------------
Reporter: purevtsooj | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 4.5
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses: javascript
-------------------------------+------------------------------
Comment (by justinbusa):
I did some digging and the issue appears to be with the following code
starting on line '6764' of 'wp-includes/js/media-views.js`...
{{{
if ( $el.is(':visible') ) {
return this;
}
}}}
That is in the `wp.media.open` function and is returning true even when
the element isn't visible. I'll do some more digging and see if I can find
a solution.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36533#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list