[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 18:47:42 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 reporter-feedback  |
-----------------------------------------+------------------------------

Comment (by nacin):

 There's no noConflict call for the external library. And then there's the
 issue with registering a version that is incompatible with WordPress (or
 at least different from the one we include).

 It's a bad idea. Front-end is not only something we recommend, but plugins
 like Google Ajax Libraries take great pains to ensure compatibility.

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


More information about the wp-trac mailing list