Make WordPress Core

Opened 4 years ago

Last modified 6 months ago

#37069 new defect (bug)

WP Color Picker has no appropriate disable / destroy method.

Reported by: Aniruddh Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.5.2
Component: General Keywords:
Focuses: javascript, administration Cc:
PR Number:


It seems WP Color Picker has no appropriate disable or destroy method.

You can do

colorPicker.wpColorPicker('option','disabled', true);

Nothing happens except it adds wp-wpColorPicker-disabled class. The color picker works like it is in normal state.

The same thing happens with destroy method, you can do


And nothing happens here, too.

Change History (0)

Note: See TracTickets for help on using tickets.