[wp-trac] [WordPress Trac] #29127: Bundled Themes: fix escaping and minor code style issues

WordPress Trac noreply at wordpress.org
Wed Aug 6 21:07:18 UTC 2014


#29127: Bundled Themes: fix escaping and minor code style issues
-------------------------------------+-----------------------------
 Reporter:  lancewillett             |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Future Release
Component:  Bundled Theme            |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:4 obenland]:
 > * In `header.php`: Adding `esc_url()` around `header_image()` will not
 work, as it echoes its content.

 It's also not needed, as `header_image()` is already escaped. See #23664.

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


More information about the wp-trac mailing list