wp/wp-includes/customize/class-wp-customize-color-control.php
changeset 9 177826044cd9
parent 7 cf61fcea0001
child 16 a86126ab1dd4
--- a/wp/wp-includes/customize/class-wp-customize-color-control.php	Mon Oct 14 18:06:33 2019 +0200
+++ b/wp/wp-includes/customize/class-wp-customize-color-control.php	Mon Oct 14 18:28:13 2019 +0200
@@ -48,7 +48,7 @@
 	 * @param array                $args    Optional. Arguments to override class property defaults.
 	 */
 	public function __construct( $manager, $id, $args = array() ) {
-		$this->statuses = array( '' => __('Default') );
+		$this->statuses = array( '' => __( 'Default' ) );
 		parent::__construct( $manager, $id, $args );
 	}
 
@@ -70,9 +70,9 @@
 	 */
 	public function to_json() {
 		parent::to_json();
-		$this->json['statuses'] = $this->statuses;
+		$this->json['statuses']     = $this->statuses;
 		$this->json['defaultValue'] = $this->setting->default;
-		$this->json['mode'] = $this->mode;
+		$this->json['mode']         = $this->mode;
 	}
 
 	/**
@@ -111,7 +111,7 @@
 				<input class="color-picker-hue" type="text" data-type="hue" />
 			<# } else { #>
 				<input class="color-picker-hex" type="text" maxlength="7" placeholder="{{ defaultValue }}" {{ defaultValueAttr }} />
- 			<# } #>
+			<# } #>
 			</label>
 		</div>
 		<?php