[wp-trac] [WordPress Trac] #42100: File editor warning copy / UI tweaks
WordPress Trac
noreply at wordpress.org
Thu Oct 5 05:19:12 UTC 2017
#42100: File editor warning copy / UI tweaks
----------------------------+------------------
Reporter: helen | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 4.9
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: | Focuses: ui
----------------------------+------------------
Comment (by nic.bertino):
Two really quick run-throughs and some things to think about. Plugin
editor has potentially more severe consequences, so I thought that might
be important to stress in the copy.
Also, I would consider changing the action items for theme editing,
exposing the CSS editor as a call-to-action instead of an inline link; it
would serve to guide the user to the "safer" alternative while still
allowing easy access to direct editing for those that want it. I
understand this is a dismissible modal, but it may promote discovery of
the CSS editor in a more effective way.
----
== Plugin Editor ==
Heads up!
----
You are editing a plugin directly in the WordPress dashboard. Making
direct edits to plugins can cause unexpected behavior or errors with your
theme or other plugins and '''is not recommended'''. Adding, editing, or
removing code can leave you unable to log back in to undo changes.
If you absolutely have to edit this plugin, create a copy with a new name
and hang on to the original version. You will be able to enable the
working version if you encounter any issues.
[I understand]
== Theme editor ==
Heads up!
----
You are editing your theme directly in the WordPress Dashboard. Editing
this code directly is dangerous, and can leave you unable to log back in
to WordPress and undo changes. Using the CSS Editor is recommended.
If you decide to go ahead with direct edits anyway, make sure to back up
your site’s files before making changes so you can restore a functional
version if something goes wrong.
[Open CSS Editor] [Continue Editing]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42100#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list