Use Newer Version of WP Color Picker Alpha
-
I was running into trouble with Grid Plus 1.1.9 encountering a JavaScript error and thus not loading the edit screens for any of my grids. (The main list screen loaded fine).
I narrowed it down to a conflict with the color picker and the fact that I am customizing the color palettes for the color pickers (using code similar to what you can find here: https://www.proy.info/wordpress-color-picker-enhancement/).
My final fix was to dequeue the wp-color-picker-alpha script enqueued by the plugin and instead enqueue the current version (2.1.3 https://github.com/kallookoo/wp-color-picker-alpha) of that color picker (which I placed in my theme’s scripts folder) on admin_enqueue_scripts hook.
Hopefully this will help anybody encountering the same problem until the newer version of the color picker javascript is added to the plugin.
thanks!
teresa
- The topic ‘Use Newer Version of WP Color Picker Alpha’ is closed to new replies.