Ticket #44124: 44124.diff
File 44124.diff, 635 bytes (added by , 7 years ago) |
---|
-
src/wp-admin/custom-header.php
283 283 $type = 'uploaded'; 284 284 } 285 285 286 if ( 1 < count( $headers )) {286 if ( is_countable( $headers ) && count( $headers ) > 1 ) { 287 287 echo '<div class="random-header">'; 288 288 echo '<label><input name="default-header" type="radio" value="random-' . $type . '-image"' . checked( is_random_header_image( $type ), true, false ) . ' />'; 289 289 _e( '<strong>Random:</strong> Show a different image on each page.' );