- Timestamp:
- 11/30/2017 11:09:33 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/customize/class-wp-customize-code-editor-control.php
r41957 r42343 48 48 */ 49 49 public function enqueue() { 50 $this->editor_settings = wp_enqueue_code_editor( array_merge( 51 array( 52 'type' => $this->code_type, 53 'codemirror' => array( 54 'indentUnit' => 2, 55 'tabSize' => 2, 50 $this->editor_settings = wp_enqueue_code_editor( 51 array_merge( 52 array( 53 'type' => $this->code_type, 54 'codemirror' => array( 55 'indentUnit' => 2, 56 'tabSize' => 2, 57 ), 56 58 ), 57 ),58 $this->editor_settings59 ) );59 $this->editor_settings 60 ) 61 ); 60 62 } 61 63 … … 69 71 */ 70 72 public function json() { 71 $json = parent::json();73 $json = parent::json(); 72 74 $json['editor_settings'] = $this->editor_settings; 73 $json['input_attrs'] = $this->input_attrs;75 $json['input_attrs'] = $this->input_attrs; 74 76 return $json; 75 77 }
Note: See TracChangeset
for help on using the changeset viewer.