Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#30182 closed defect (bug) (fixed)

All Iris options should be able to be overridden via wpColorPicker options

Reported by: jtsternberg's profile jtsternberg Owned by: ocean90's profile ocean90
Milestone: 4.1 Priority: normal
Severity: normal Version: 3.5
Component: Customize Keywords: commit has-patch
Focuses: javascript Cc:

Description (last modified by westonruter)

'mode' and 'width' are both hard-coded in the Iris config. No reason not to allow that to be overridden via the wpColorPicker config.

Related: #29632

Attachments (1)

30182.diff (762 bytes) - added by jtsternberg 9 years ago.
replace hard-coded values w/ filtered defaults

Download all attachments as: .zip

Change History (5)

@jtsternberg
9 years ago

replace hard-coded values w/ filtered defaults

#1 @jtsternberg
9 years ago

CMB2 issue which spawned this patch: https://github.com/WebDevStudios/CMB2/issues/60.

Last edited 9 years ago by jtsternberg (previous) (diff)

This ticket was mentioned in Slack in #core by jtsternberg. View the logs.


9 years ago

#3 @westonruter
9 years ago

  • Description modified (diff)
  • Focuses javascript added
  • Keywords commit has-patch added
  • Milestone changed from Awaiting Review to 4.1
  • Version changed from trunk to 3.5

Hard-coded values were introduced in r22385.

#4 @ocean90
9 years ago

  • Owner set to ocean90
  • Resolution set to fixed
  • Status changed from new to closed

In 30330:

Color Picker: Allow to override mode and width values for Iris via wpColorPicker options.

props jtsternberg.
fixes #30182.

Note: See TracTickets for help on using tickets.