Changeset 20299
- Timestamp:
- 03/28/2012 09:10:29 AM (8 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-customize-control.php
r20295 r20299 146 146 */ 147 147 protected function render() { 148 $id = 'customize-control-' . $this->id;148 $id = 'customize-control-' . str_replace( '[', '-', str_replace( ']', '', $this->id ) ); 149 149 $class = 'customize-control customize-control-' . $this->type; 150 150 -
trunk/wp-includes/js/customize-controls.dev.js
r20297 r20299 49 49 50 50 this.id = id; 51 this.container = $( '#customize-control-' + id ); 51 this.selector = '#customize-control-' + id.replace( ']', '' ).replace( '[', '-' ); 52 this.container = $( this.selector ); 52 53 53 54 settings = $.map( this.params.settings, function( value ) {
Note: See TracChangeset
for help on using the changeset viewer.