- Timestamp:
- 11/30/2017 11:09:33 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/customize/class-wp-customize-color-control.php
r41329 r42343 49 49 */ 50 50 public function __construct( $manager, $id, $args = array() ) { 51 $this->statuses = array( '' => __( 'Default') );51 $this->statuses = array( '' => __( 'Default' ) ); 52 52 parent::__construct( $manager, $id, $args ); 53 53 } … … 71 71 public function to_json() { 72 72 parent::to_json(); 73 $this->json['statuses'] = $this->statuses;73 $this->json['statuses'] = $this->statuses; 74 74 $this->json['defaultValue'] = $this->setting->default; 75 $this->json['mode'] = $this->mode;75 $this->json['mode'] = $this->mode; 76 76 } 77 77 … … 112 112 <# } else { #> 113 113 <input class="color-picker-hex" type="text" maxlength="7" placeholder="{{ defaultValue }}" {{ defaultValueAttr }} /> 114 114 <# } #> 115 115 </label> 116 116 </div>
Note: See TracChangeset
for help on using the changeset viewer.