[wp-trac] [WordPress Trac] #32240: /theme-compat/header.php loads images from Kubrick in header, causing 404s if not using Kubrick

WordPress Trac noreply at wordpress.org
Mon May 11 17:48:58 UTC 2015


#32240: /theme-compat/header.php loads images from Kubrick in header, causing 404s
if not using Kubrick
--------------------------------------+-----------------------
 Reporter:  Shelob9                   |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  low                       |   Milestone:  4.3
Component:  Themes                    |     Version:  1.2
 Severity:  normal                    |  Resolution:
 Keywords:  good-first-bug has-patch  |     Focuses:  template
--------------------------------------+-----------------------
Changes (by johnbillion):

 * keywords:  good-first-bug => good-first-bug has-patch
 * priority:  normal => low
 * focuses:  ui, template => template
 * milestone:  Awaiting Review => 4.3


Comment:

 Thanks for the patch Mte90. All that needs correcting is the
 `file_exists()` check should use `get_stylesheet_directory()` instead of
 `get_template_directory()`, as that's what's used in the image URL in the
 CSS.

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


More information about the wp-trac mailing list