[wp-trac] [WordPress Trac] #19568: Call `_doing_it_wrong` when plugin authors try to call `wp_deregister_script` on `jquery` in the Admin UI

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 15 19:10:35 UTC 2011


#19568: Call `_doing_it_wrong` when plugin authors try to call
`wp_deregister_script` on `jquery` in the Admin UI
-----------------------------------+------------------------------
 Reporter:  georgestephanis        |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  General                |     Version:  3.3
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+------------------------------
Changes (by scribu):

 * keywords:  has-patch reporter-feedback => has-patch 2nd-opinion


Comment:

 The same arguments could be made against doing that on the front-end.
 There's nothing preventing the Google AJAX Library plugin from ensuring
 compatibility on the back-end as well.

 The only thing I can think of is the script compression and concatenation
 that's only present in the backend.

 So, yeah, there's merit to adding this warning. But is it really such a
 common problem?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19568#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list