[wp-trac] [WordPress Trac] #28641: wp_enqueue_media() breaks media library
WordPress Trac
noreply at wordpress.org
Wed Jul 2 19:21:25 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 ericlewis):
Replying to [comment:2 McGuive7]:
> Unfortunately, this call to `wp_enqueue_media()` is part of the
> [https://github.com/gambitph/Titan-Framework Titan Framework], and is
being enqueued somewhat indiscriminately. This may be an oversight, or it
may just be technically challenging for the framework to know exactly when
and where to add the enqueue across multiple, dynamically-generated
options pages. Anyhow, not sure if I can expect the framework code to
change anytime soon. . .
I'd either fork it, make a good argument to make the changes upstream or
get on a more stable framework.
> I'd love to know if the issue is just that `wp_enqueue_media()` should
not be called at all on the media library page, or if perhaps it's being
called already on that page (although it seems like this should be an
issue since the function checks if it's already been called, right?
Right, curious. Maybe the framework (or other code) is doing something
else wrong. It could also be an issue with our implementation.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28641#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list