[wp-hackers] JQuery Color is still part of Wordpress 3.5 ?

Andrew Nacin wp at andrewnacin.com
Sat Dec 22 22:00:09 UTC 2012

On Sat, Dec 22, 2012 at 2:52 PM, Benjamin Lupu <benjamin.lupu at gmail.com>wrote:

> It does. Bug fixed (with a nice version_compare()). Merci Lionel, je te
> dois un café.

You can actually avoid the version_compare() (which emphasizes version
detection over feature/behavior detection) and just always enqueue
jquery-color. Or even better, set it as a dependency on your own script.
Will work fine before and after 3.5.


More information about the wp-hackers mailing list