[wp-trac] [WordPress Trac] #28641: wp_enqueue_media() breaks media library
WordPress Trac
noreply at wordpress.org
Wed Jul 2 19:25:13 UTC 2014
#28641: wp_enqueue_media() breaks media library
--------------------------+---------------------------------
Reporter: McGuive7 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses: ui, administration
--------------------------+---------------------------------
Comment (by McGuive7):
Thanks for the response. Yep, I just created my own fork to conditionally
make the call only on options pages instead of on all admin pages.
As for the second bit, that's the part I'm wondering about. Seems to me
like something got introduced with WP 4.0's new media library that doesn't
play nice with calls to `wp_enqueue_media()`. It may well be that users
shouldn't be calling it anyways on the media library page, but it seems to
me like it shouldn't cause the whole display to fail. I have no idea what
the actual issue is, but it seems for the sake of backwards compatibility
it would be good to get to the bottom of this and make sure it's NOT a
core WP issue.
Is this the right place to be filing this bug? I'm newish to Trac.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28641#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list