WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#13851 closed defect (bug) (fixed)

TwentyTen Theme printing to browser befoe get_header is called

Reported by: mymoog Owned by: nacin
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: General Keywords:
Focuses: Cc:

Description

Hi, I noticed that the main index template file of the WP 3.0 TwentyTen Theme prints a blank space on line 16 before get_header() is called.

This broke a plugin of mine.

Fix is simple. Just remove the space from the index.php template file which appears on line 16, the line just before the get_header() line.

Is this something that can be sorted out before final WP 3.0 release as it could break other plugins that use get_header to run functions before anything should be printed to screen.

Change History (3)

comment:1 nacin4 years ago

  • Owner set to nacin
  • Status changed from new to accepted

comment:2 nacin4 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

(In [15226]) Make sure no output is sent in Twenty Ten before get_header(). fixes #13851.

comment:3 nacin4 years ago

  • Milestone changed from Unassigned to 3.0
Note: See TracTickets for help on using tickets.