﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
16694,wp_dequeue_script() fails to dequeue when a registered script is dependent,nacin,azaozz,"I'm trying to dequeue quicktags. It doesn't work.

sivel was able to track down that scripts are not dequeued, when another script is dependent on them.

Only, in this case, quicktag's only dependent (admin-comments), will always be registered, but on this page, it not enqueued. admin-comment's only dependent (dashboard) is also not enqueued, and is only registered.

Two issues:

1. These functions should have return values for them. If they're going to fail, we need to know.

2. I should be able to dequeue quicktags in this situation. If admin-comments *is* enqueued, perhaps I should not, unless I dequeue admin-comments first. But at the very least, a registered and unqueued dependent should not prevent dequeueing.

(Extra bug noticed -- the comment reply form is rendered on post-new.php, despite the comments meta box not being supported by this post type.)",defect (bug),closed,normal,3.3,General,3.0,normal,fixed,reporter-feedback,
