[wp-trac] [WordPress Trac] #25400: Twenty Twelve, Twenty Fourteen: Simplify header image check

WordPress Trac noreply at wordpress.org
Mon Sep 23 22:01:34 UTC 2013


#25400: Twenty Twelve, Twenty Fourteen: Simplify header image check
---------------------------+-----------------------
 Reporter:  obenland       |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  3.7
Component:  Bundled Theme  |    Version:  3.5
 Severity:  normal         |   Keywords:  has-patch
---------------------------+-----------------------
 `get_header_image()` will return the boolean false or an empty string if
 there is no header image. Both will be evaluated as false by the if
 statement. We already do this in Twenty Ten.

 Loosely related: #25156.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25400>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list