[wp-trac] [WordPress Trac] #39363: New custom css customizer saved as a published post

WordPress Trac noreply at wordpress.org
Wed Dec 21 14:00:10 UTC 2016


#39363: New custom css customizer saved as a published post
--------------------------+-----------------------------
 Reporter:  gresakg       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Customize     |    Version:  4.7
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I could not reproduce the bug and I don't know in what exact circumstances
 it really occurs. This is what happened:
 I open theme customizer and go to "Additional css" tab.
 In the preview pane I navigate to a post.
 I live edit css.
 I save and close the customizer.
 I have not found out that the post has gone missing until next morning
 when colleagues reported, that a post was missing.
 I searched for the post and could not find it in the admin section.
 I could not find the post by post_name in the database.
 I found revisions of the post in the the database and took the ID.
 I made the search for that ID in the database and found a post of type
 custom_css and post_name identical to the slug of the theme, containing
 the custom css styles.
 I could not yet reproduce the bug in a safe environment, because I don't
 have the exact copy of the system. It didn't work on my local
 installation.

 Recovery: I managed to recover my post by changing the slug and the post
 type of the corrupted post in the database and then recover the content
 using the revisions pane in the post editing section.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39363>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list