WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 19 months ago

Last modified 19 months 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:

Description

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)

comment:1 azaozz19 months 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.

Version 0, edited 19 months ago by azaozz (next)
Note: See TracTickets for help on using tickets.