Changeset 27688
- Timestamp:
- 03/24/2014 07:15:32 PM (11 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-control.php
r27620 r27688 890 890 <# if ( data.type === 'uploaded' ) { #> 891 891 <?php _e( 'Randomize uploaded headers' ); ?> 892 <# } else if ( data.type === ' suggested' ) { #>892 <# } else if ( data.type === 'default' ) { #> 893 893 <?php _e( 'Randomize suggested headers' ); ?> 894 894 <# } #> … … 921 921 <# if ( data.type === 'uploaded' ) { #> 922 922 <?php _e( 'Randomizing uploaded headers' ); ?> 923 <# } else if ( data.type === ' suggested' ) { #>923 <# } else if ( data.type === 'default' ) { #> 924 924 <?php _e( 'Randomizing suggested headers' ); ?> 925 925 <# } #> -
trunk/src/wp-includes/js/customize-views.js
r27643 r27688 137 137 var c = this.model.get('collection'); 138 138 return _.extend(this.model.toJSON(), { 139 // -1 to exclude the randomize button 140 nImages: c.size() - 1 139 type: c.type, 141 140 }); 142 141 },
Note: See TracChangeset
for help on using the changeset viewer.