#30011 closed defect (bug) (fixed)
Twenty Fifteen: Bug in content display on content-none.php
| Reported by: | dmchale | Owned by: | iandstewart |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.1 |
| Component: | Bundled Theme | Version: | 4.1 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
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
@
12 years ago
- Component Themes → Bundled Theme
- Keywords has-patch needs-refresh added
- Milestone Awaiting Review → 4.1
@dmchale
Thanks, you're right. Can you please upload a patch without the other changes? Thanks!
#2
@
12 years ago
@ocean90
Thanks! Good catch on the patch file, sorry about that. Uploaded revised patch, should be better now.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)



Patch to trunk which fixes /twentyfifteen/content-none.php