[wp-trac] [WordPress Trac] #38633: get_header_image_tag() doesn't always return the correct image

WordPress Trac noreply at wordpress.org
Wed Nov 2 21:53:35 UTC 2016


#38633: get_header_image_tag() doesn't always return the correct image
--------------------------+------------------------------
 Reporter:  bradyvercher  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Themes        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------
Changes (by bradyvercher):

 * keywords:   => has-patch


Comment:

 Whoops, looks like I botched that patch number! [attachment:38663.diff]
 uses `get_header_image()` for the image URL in `get_header_image_tag()` to
 make sure `remove-header`, `random-default-image`, and `random-uploaded-
 image` settings are respected.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38633#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list