WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#10577 closed defect (bug) (invalid)

/wp-includes/author-template.php space at the end of the file

Reported by: serbanghita Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Formatting Keywords: reporter-feedback
Focuses: Cc:

Description

/wp-includes/author-template.php seems to have an empty space at the end of the file, so if i use in template one of the functions in here it gives me 'headers already sent'

I updated the latest version from the SVN and this still appears. Thanks.

Change History (2)

comment:1 @dd326 years ago

  • Keywords reporter-feedback added

PHP ignores a blank line after a closing tag, So that file is not causing the problem. (And it'd happen on every page, As that file is ALWAYS included, and a space wouldnt cause an issue when a function from the file is used, but in every page)

What is the error message exactly? It'll tell you where the output started, and what is trying to set a header.

comment:2 @azaozz6 years ago

  • Milestone 2.8.4 deleted
  • Resolution set to invalid
  • Status changed from new to closed
  • Version 2.8.3 deleted

DD32 is right, if this was the case it would happen on each page load. Perhaps check your functions.php file or your template.

Note: See TracTickets for help on using tickets.