[wp-trac] [WordPress Trac] #42467: CodeMirror description in About Page String
WordPress Trac
noreply at wordpress.org
Wed Nov 8 07:23:52 UTC 2017
#42467: CodeMirror description in About Page String
-------------------------+-----------------------------
Reporter: atachibana | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.9
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
Beloow sentence is from wp-admin/about.php
''We’ve introduced a new code editing library, CodeMirror, for use
within core. Use it to improve any code writing or editing experiences
within your plugins, like CSS or JavaScript include fields.''
I think there are 2 issues:
1. Unclear sentence 'like CSS or JavaScript include fields'
This is about using CodeMirror for input fields. Input fields that are
used to edit CSS, JavaScript, or similar.
But it is a bit hard to read.
2. Conflict message with other feature
In Version 4.9, We introduced Warning prompt against direct edit of
themes/plugins, but above sentence sounds we are recommending direct edit
of CSS or JavaScript of Plugins.
I think We should use HTML widget as an example of CodeMirror.
fyi. Below is the feature text of 'Warning: Potential Danger Ahead!' in
about.php.
''When you edit themes and plugins directly, WordPress 4.9 will politely
warn you that this is a dangerous practice. It will recommend that you
backup your files before saving, so they don’t get overwritten by
the next update. Take the safe route: your future self will thank you.
Your team and customers will thank you.''
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42467>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list