WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #17240, comment 23


Ignore:
Timestamp:
04/29/11 01:06:03 (4 years ago)
Author:
kawauso
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17240, comment 23

    initial v1  
    11`is_random_header_image()` will return `true` when no header image is selected, but this is conditional on `$type` being 'any'. The `checked()` call for the Random radio button on the Header screen uses 'default', so no radio buttons appear checked. Following patch adds a clause to catch this. 
    22 
    3 Also, shouldn't the default-header class and input name be called something more logical since they're also used for user uploaded headers? 
     3Also, shouldn't the default-header class and input name in `show_header_selector()` be called something more logical since they're also used for user uploaded headers?