[wp-trac] [WordPress Trac] #16694: wp_dequeue_script() fails to dequeue when a registered script is dependent
WordPress Trac
wp-trac at lists.automattic.com
Mon Feb 28 08:01:57 UTC 2011
#16694: wp_dequeue_script() fails to dequeue when a registered script is dependent
--------------------------+------------------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: 2nd-opinion |
--------------------------+------------------------------
Comment (by garyc40):
Replying to [comment:1 nacin]:
> It should be properly enqueued, instead of printed.
If we're to go with this direction, the key is automatically detecting
when quicktags should be enqueued.
Would requiring quicktags to be enqueued manually break existing themes or
plugins that use `the_editor()` on custom admin pages or on the front-end?
Right now they assume `wp_print_scripts()` already did the job for them.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16694#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list