[wp-trac] [WordPress Trac] #44471: Theme Editor: Modern CSS is marked as errors by CodeMirror

WordPress Trac noreply at wordpress.org
Tue Feb 18 15:49:22 UTC 2020


#44471: Theme Editor: Modern CSS is marked as errors by CodeMirror
--------------------------------------+-----------------------------
 Reporter:  ThemeZee                  |       Owner:  SergeyBiryukov
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  5.4
Component:  Editor                    |     Version:  4.9
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"47305" 47305]:
 {{{
 #!CommitTicketReference repository="" revision="47305"
 Theme Editor: Disable CodeMirror CSS linting.

 Being a good idea in theory, in practice it does not always work reliably,
 may not recognize newer CSS properties, and sometimes displays phantom
 errors with no particular error message.

 A plugin can re-enable CSS linting via the `wp_code_editor_settings`
 filter.

 Props skypressatx, ThemeZee, johnbillion, ianbelanger, ZanderZ,
 starvoters1, raoulunger, prashantvatsh, SergeyBiryukov.
 Fixes #44471.
 }}}

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


More information about the wp-trac mailing list