Changeset 41952
- Timestamp:
- 10/20/2017 03:29:30 AM (7 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/js/customize-controls.js
r41950 r41952 3898 3898 templateId = control.templateSelector; 3899 3899 3900 // Use default content template when a standard HTML type is used and there isn't a more specific template existing. 3901 if ( templateId === 'customize-control-' + control.params.type + '-content' && _.contains( standardTypes, control.params.type ) && ! document.getElementById( 'tmpl-' + templateId ) ) { 3900 // Use default content template when a standard HTML type is used, there isn't a more specific template existing, and the control container is empty. 3901 if ( templateId === 'customize-control-' + control.params.type + '-content' && 3902 _.contains( standardTypes, control.params.type ) && 3903 ! document.getElementById( 'tmpl-' + templateId ) && 3904 0 === control.container.children().length ) 3905 { 3902 3906 templateId = 'customize-control-default-content'; 3903 3907 } -
trunk/src/wp-includes/class-wp-customize-manager.php
r41936 r41952 4020 4020 >{{ inputAttrs.value }}</textarea> 4021 4021 <# } else if ( 'select' === data.type ) { #> 4022 <# delete inputAttrs.type; #> 4022 4023 <select 4023 4024 <# _.each( _.extend( inputAttrs ), function( value, key ) { #>
Note: See TracChangeset
for help on using the changeset viewer.