[wp-trac] [WordPress Trac] #42613: Custom CSS with errors before 4.9 upgrade can't be corrected after upgrade

WordPress Trac noreply at wordpress.org
Mon Nov 20 23:33:07 UTC 2017


#42613: Custom CSS with errors before 4.9 upgrade can't be corrected after upgrade
-------------------------------+------------------------------
 Reporter:  hptccharge         |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Customize          |     Version:  4.9
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  javascript
-------------------------------+------------------------------

Comment (by hptccharge):

 Replying to [comment:12 westonruter]: I never got a chance to paste in and
 then override an error notification, after WP was updated, the custom CSS
 wouldn't allow me to save anything, regardless of whether I was editing
 what was already in there at time of WP upgrade or after deleting
 everything in the custom CSS file and pasting in new code.

 > That's strange. I can't reproduce the error you experienced. I tried
 populating the Customize CSS with your [attachment:Custom CSS with errors
 Childers.txt], and I was able to override the error notification to save
 draft. I was then able to reload the Customizer, with the errored CSS
 intact, and then I was able to dismiss the error notice (and touch the CSS
 to trigger dirty state) and save again. I was able to do this all with
 syntax highlighting (CodeMirror) enabled.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42613#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list