Opened 13 years ago
Closed 13 years ago
#23663 closed defect (bug) (fixed)
Twenty Thirteen: Redundant esc_url() calls
| Reported by: | SergeyBiryukov | Owned by: | lancewillett |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.6 |
| Component: | Bundled Theme | Version: | 3.6 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I guess we should add
esc_url()toheader_image()itself, created #23664 for that.