Opened 13 years ago
Closed 13 years ago
#23663 closed defect (bug) (fixed)
Twenty Thirteen: Redundant esc_url() calls
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 3.6 | Priority: | normal |
| Severity: | normal | Version: | 3.6 |
| Component: | Bundled Theme | Keywords: | has-patch |
| Focuses: | Cc: |
Description
Spotted this in custom-header.php: esc_url( header_image() ).
It doesn't work as intended, since header_image() echoes the value directly:
http://core.trac.wordpress.org/browser/tags/3.5.1/wp-includes/theme.php#L983
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
I guess we should add
esc_url()toheader_image()itself, created #23664 for that.