Opened 18 months ago

Closed 18 months ago

Last modified 18 months ago

#19258 closed defect (bug) (invalid)

Parse error when leaving edit-post without saving

Reported by: DrewAPicture Owned by:
Priority: normal Milestone:
Component: Editor Version:
Severity: normal Keywords:
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)

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.

  • Resolution set to invalid
  • Status changed from new to closed
  • Version 3.3 deleted
  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.