WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#15992 closed defect (bug) (invalid)

Extra "<" in Twentyten's header.php

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

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 2 years ago.
patch file

Download all attachments as: .zip

Change History (4)

tomthewebmaster2 years ago

patch file

comment:1 tomthewebmaster2 years ago

  • Cc tomthewebmaster added
  • Component changed from General to Themes

comment:2 nacin2 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 tomthewebmaster2 years ago

Just noticed that also. Apologies for the inconvenience.

Note: See TracTickets for help on using tickets.