Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 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:

Description

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.

Repro:

  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
13 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
13 years ago

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

#3 @SergeyBiryukov
13 years ago

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