I was working on a plugin and it stopped working after I upgraded. It looks like Farbtastic has been replaced as the default color picker:http://core.trac.wordpress.org/changeset/22030
How do you guys handle situations like this, where WP included scripts get removed? It looks like I’ll have to handle cases where users have the old version of WP with Farbtastic, and the new version without it. Seems silly that they didn’t keep the old script for backwards compatibility.
In case anyone is interested, there is a function wp_script_is that detects if a script is registered, queued, or printed, so you can conditionally register it if it doesn’t exist already.
Farbtastic just got replaced in Trunk, not 3.4.2. The commit is 22 hours old and 3.4.2 is some weeks old.
I just downloaded a fresh copy of 3.4.2 and there is no Farbtastic. Am I doing something wrong?
It should be in
I see, so the js is still there, it’s just not registered anymore.