[wp-trac] [WordPress Trac] #30011: Twenty Fifteen: Bug in content display on content-none.php
WordPress Trac
noreply at wordpress.org
Thu Oct 16 18:54:15 UTC 2014
#30011: Twenty Fifteen: Bug in content display on content-none.php
--------------------------+-----------------------------
Reporter: dmchale | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
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.
Broken in 2015:
[[Image(http://www.binarytemplar.com/wp-
content/uploads/2014/10/01_2015_broken.jpg)]]
Working in 2014:
[[Image(http://www.binarytemplar.com/wp-
content/uploads/2014/10/02_2014_working.jpg)]]
Working in 2015 after patch:
[[Image(http://www.binarytemplar.com/wp-
content/uploads/2014/10/03_2015_working.jpg)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30011>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list