[wp-trac] [WordPress Trac] #15992: Extra "<" in Twentyten's header.php
WordPress Trac
wp-trac at lists.automattic.com
Mon Dec 27 05:09:07 UTC 2010
#15992: Extra "<" in Twentyten's header.php
-----------------------------+----------------------
Reporter: tomthewebmaster | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Themes | Version:
Severity: normal | Resolution: invalid
Keywords: |
-----------------------------+----------------------
Changes (by nacin):
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
Note the code:
{{{
<?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?>
<<?php echo $heading_tag; ?> id="site-
title">
}}}
It's building an HTML tag. The first < is part of that.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15992#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list