diff --git a/src/wp-includes/class-wp-customize-control.php b/src/wp-includes/class-wp-customize-control.php
index 6c5e467..f10a74f 100644
a
|
b
|
final class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control |
889 | 889 | <span><span class="dice">⚄</span> |
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 | <# } #> |
895 | 895 | </span> |
… |
… |
final class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control |
920 | 920 | <span><span class="dice">⚄</span> |
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 | <# } #> |
926 | 926 | </span> |
diff --git a/src/wp-includes/js/customize-views.js b/src/wp-includes/js/customize-views.js
index 018852d..eb3d4aa 100644
a
|
b
|
|
136 | 136 | extendedModel: function() { |
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 | }, |
143 | 142 | |