[wp-trac] [WordPress Trac] #23663: Twenty Thirteen: Redundant esc_url() calls

WordPress Trac noreply at wordpress.org
Sat Mar 2 03:20:05 UTC 2013


#23663: Twenty Thirteen: Redundant esc_url() calls
----------------------------+---------------------------
 Reporter:  SergeyBiryukov  |       Type:  defect (bug)
   Status:  new             |   Priority:  normal
Milestone:  3.6             |  Component:  Bundled Theme
  Version:  trunk           |   Severity:  normal
 Keywords:  has-patch       |
----------------------------+---------------------------
 Spotted this in `custom-header.php`: `esc_url( header_image() )`.

 It doesn't work as intended, since `header_image()` echoes the value
 directly: [[BR]]
 http://core.trac.wordpress.org/browser/tags/3.5.1/wp-
 includes/theme.php#L983

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


More information about the wp-trac mailing list