Changeset 32542 for trunk/src/wp-includes/class-wp-customize-control.php
- Timestamp:
- 05/22/2015 05:05:19 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-control.php
r32535 r32542 1049 1049 } 1050 1050 1051 /** 1052 * 1053 * @global Custom_Image_Header $custom_image_header 1054 */ 1051 1055 public function prepare_control() { 1052 1056 global $custom_image_header; … … 1065 1069 <script type="text/template" id="tmpl-header-choice"> 1066 1070 <# if (data.random) { #> 1067 1068 1069 1070 1071 1072 1073 1074 1071 <button type="button" class="button display-options random"> 1072 <span class="dashicons dashicons-randomize dice"></span> 1073 <# if ( data.type === 'uploaded' ) { #> 1074 <?php _e( 'Randomize uploaded headers' ); ?> 1075 <# } else if ( data.type === 'default' ) { #> 1076 <?php _e( 'Randomize suggested headers' ); ?> 1077 <# } #> 1078 </button> 1075 1079 1076 1080 <# } else { #> … … 1351 1355 } 1352 1356 1357 /** 1358 * 1359 * @global array $wp_registered_widgets 1360 */ 1353 1361 public function render_content() { 1354 1362 global $wp_registered_widgets;
Note: See TracChangeset
for help on using the changeset viewer.