Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#15992 closed defect (bug) (invalid)

Extra "<" in Twentyten's header.php

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

Description

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

Attachments (1)

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

Download all attachments as: .zip

Change History (4)

@tomthewebmaster
15 years ago

patch file

#1 @tomthewebmaster
15 years ago

  • Cc tomthewebmaster added
  • Component changed from General to Themes

#2 @nacin
15 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.

#3 @tomthewebmaster
15 years ago

Just noticed that also. Apologies for the inconvenience.

Note: See TracTickets for help on using tickets.