#30011 closed defect (bug) (fixed)
Twenty Fifteen: Bug in content display on content-none.php
Reported by: | dmchale | Owned by: | iandstewart |
---|---|---|---|
Milestone: | 4.1 | Priority: | normal |
Severity: | normal | Version: | 4.1 |
Component: | Bundled Theme | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
When a site has no posts and the admin is viewing the homepage, the use of esc_html__()
on Line 21 is breaking the intended display of the message to the site admin.
Because the message contains html in the anchor tag, the html itself is being displayed on the screen rather than an actual rendered, clickable link.
Replace with __()
function call instead - see attached screens and patch.
Attachments (2)
Change History (7)
#1
@
10 years ago
- Component changed from Themes to Bundled Theme
- Keywords has-patch needs-refresh added
- Milestone changed from Awaiting Review to 4.1
@dmchale
Thanks, you're right. Can you please upload a patch without the other changes? Thanks!
#2
@
10 years ago
@ocean90
Thanks! Good catch on the patch file, sorry about that. Uploaded revised patch, should be better now.
#4
@
10 years ago
- Owner set to iandstewart
- Resolution set to fixed
- Status changed from new to closed
In 29947:
This ticket was mentioned in Slack in #core by dmchale. View the logs.
10 years ago
Note: See
TracTickets for help on using
tickets.
Patch to trunk which fixes /twentyfifteen/content-none.php