Hi!
I'm trying to modify the behavior of the image edit tool and need to do a few changes to a JS in admin/js/ ...
is there a way to tell a plugin to dequeue a core-script and call a custom script instead???
i don't want to mess with the files again after every update...
thx in advance!
wp_deregister_script - sorry couldn't find a codex page for it
http://core.trac.wordpress.org/browser/tags/3.0.1/wp-includes/functions.wp-scripts.php#L80
Unregister the existing one, then register your own with the same name (that way you won't cause any enqueued scripts that have dependancies on that file to fail).