Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#19258 closed defect (bug) (invalid)

Parse error when leaving edit-post without saving

Reported by: drewapicture's profile DrewAPicture Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Editor Keywords:
Focuses: Cc:


I started writing a post, entered some text then changed my mind. I clicked out to a different menu, when prompted I clicked to leave the page without saving changes and received this error:

Parse error: syntax error, unexpected T_SL in (...)/wp-admin/includes/class-wp-posts-list-table.php on line 556

Note: The error appears even if a draft has previously been saved.


  1. Posts -> Add New
  2. Enter some text in the editor
  3. Click another menu/link to leave the editing page
  4. Click to confirm the "Are you sure?" dialog to leave without saving

Change History (3)

#1 @nacin
12 years ago

nacin$ php -l wp-admin/includes/class-wp-posts-list-table.php
No syntax errors detected in wp-admin/includes/class-wp-posts-list-table.php

Any chance you have some cruft on your install? Try running a diff.

#2 @DrewAPicture
12 years ago

  • Resolution set to invalid
  • Status changed from new to closed
  • Version 3.3 deleted

#3 @SergeyBiryukov
12 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.