#19258 closed defect (bug) (invalid)
Parse error when leaving edit-post without saving
Reported by: | 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:
- Posts -> Add New
- Enter some text in the editor
- Click another menu/link to leave the editing page
- Click to confirm the "Are you sure?" dialog to leave without saving
Change History (3)
Note: See
TracTickets for help on using
tickets.
Any chance you have some cruft on your install? Try running a diff.