[wp-trac] [WordPress Trac] #19258: Parse error when leaving edit-post without saving

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 16 06:57:25 UTC 2011


#19258: Parse error when leaving edit-post without saving
--------------------------+-----------------------------
 Reporter:  DrewAPicture  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  3.3
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 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

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19258>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list