Changes between Version 32 and Version 33 of Ticket #37964
- Timestamp:
- 10/05/2017 03:47:09 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #37964 – Description
v32 v33 4 4 5 5 {{{#!js 6 var control = new wp.customize.Control( 'product_ color', {7 type: 'color',6 var control = new wp.customize.Control( 'product_name', { 7 // ... 8 8 settings: { 9 'default': new wp.customize.Value( ' #000000' )9 'default': new wp.customize.Value( 'Something' ) 10 10 } 11 11 } ); … … 15 15 16 16 {{{#!js 17 wp.customize.create( 'product_color', 'product_color', '#000000', {} ); 18 control = new wp.customize.Control( 'product_color', { 19 type: 'color', 20 params: { 21 settings: { 22 'default': 'product_color' 23 } 17 wp.customize.create( 'product_name', 'product_name', 'Something', {} ); 18 control = new wp.customize.Control( 'product_name', { 19 // ... 20 settings: { 21 'default': 'product_name' 24 22 } 25 23 } );