Make WordPress Core

Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#20686 closed defect (bug) (worksforme)

Unexpected end of input in wp-tinymce.php

Reported by: galbaras Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.3.2
Component: TinyMCE Keywords:
Focuses: Cc:


When editing a page, the editing icons do not appear. In Chrome, the console shows "Unexpected end of input" in wp-tinymce.php.

There is a missing end tag for the PHP tag at the top. Adding this end tag, "?>", at the end of the file solves the problem.

This bug seems to be new to 3.3.2.

Change History (1)

#1 @azaozz
9 years ago

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

In PHP end tags at EOF are optional and the general advice is not to use them. This sounds like a server misconfiguration as wp-tinymce.php ends with exit;, i.e. PHP stops running at that line and the server should "flush" any unsent content and close the connection.

Last edited 9 years ago by azaozz (previous) (diff)
Note: See TracTickets for help on using tickets.