Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#15992 closed defect (bug) (invalid)

Extra "<" in Twentyten's header.php

Reported by: tomthewebmaster Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Themes Keywords:
Focuses: Cc:


I noticed that there is an extra "<" on line 61 of header.php in Twentyten.

Attachments (1)

patch.diff (678 bytes) - added by tomthewebmaster 3 years ago.
patch file

Download all attachments as: .zip

Change History (4)

tomthewebmaster3 years ago

patch file

comment:1 tomthewebmaster3 years ago

  • Cc tomthewebmaster added
  • Component changed from General to Themes

comment:2 nacin3 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

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.

comment:3 tomthewebmaster3 years ago

Just noticed that also. Apologies for the inconvenience.

Note: See TracTickets for help on using tickets.