File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -282,14 +282,13 @@ public function show_header_selector( $type = 'default' ) {
282282 foreach ( $ headers as $ header_key => $ header ) {
283283 $ header_thumbnail = $ header ['thumbnail_url ' ];
284284 $ header_url = $ header ['url ' ];
285- $ header_desc = empty ( $ header ['description ' ] ) ? '' : $ header ['description ' ];
286- $ header_alt_text = empty ( $ header ['alt_text ' ] ) ? $ header_desc : $ header ['alt_text ' ];
285+ $ header_alt_text = empty ( $ header ['alt_text ' ] ) ? '' : $ header ['alt_text ' ];
287286 echo '<div class="default-header"> ' ;
288287 echo '<label><input name="default-header" type="radio" value=" ' . esc_attr ( $ header_key ) . '" ' . checked ( $ header_url , get_theme_mod ( 'header_image ' ), false ) . ' /> ' ;
289288 $ width = '' ;
290289 if ( !empty ( $ header ['attachment_id ' ] ) )
291290 $ width = ' width="230" ' ;
292- echo '<img src=" ' . set_url_scheme ( $ header_thumbnail ) . '" alt=" ' . esc_attr ( $ header_alt_text ) .'" title=" ' . esc_attr ( $ header_desc ) . ' " ' . $ width . ' /></label> ' ;
291+ echo '<img src=" ' . set_url_scheme ( $ header_thumbnail ) . '" alt=" ' . esc_attr ( $ header_alt_text ) .'" ' . $ width . ' /></label> ' ;
293292 echo '</div> ' ;
294293 }
295294 echo '<div class="clear"></div></div> ' ;
You can’t perform that action at this time.
0 commit comments