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
- Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
- Open a support ticket if you would like specific help with your account, deposits or purchases.
- Item Support by authors is optional and may vary. Please see the Support tab on each item page.
Most of all, enjoy your time here. Thank you for being a valued Envato community member.