[wp-trac] [WordPress Trac] #26723: Hatom Errors
WordPress Trac
noreply at wordpress.org
Wed Jul 30 19:00:46 UTC 2014
#26723: Hatom Errors
---------------------------+-----------------------------
Reporter: fidosysop | Owner:
Type: defect (bug) | Status: reopened
Priority: low | Milestone: Future Release
Component: Bundled Theme | Version: 3.8
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: template
---------------------------+-----------------------------
Comment (by obenland):
Replying to [comment:14 slobodanmanic]:
> Why does the_title( '<h1 class="entry-title">', '</h1>' ) need to be <h1
class="entry-title"><?php the_title(); ?></h1> for this ticket?
If the tags are passed to `the_title()`, they will not be rendered if the
title is empty. Since we always need them to satisfy the parser, we'd have
to pull them out of the function.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26723#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list