[wp-trac] [WordPress Trac] #47126: Code Editor: default to readme.txt

WordPress Trac noreply at wordpress.org
Wed May 8 19:48:32 UTC 2019


#47126: Code Editor: default to readme.txt
-------------------------------+------------------------------
 Reporter:  joyously           |       Owner:  (none)
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Editor             |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  2nd-opinion close  |     Focuses:
-------------------------------+------------------------------
Changes (by desrosj):

 * keywords:   => 2nd-opinion close


Comment:

 I don't know that I see any benefits to making this change.

 Can you identify any other benefits to this change other than the user is
 in a “less dangerous” place?

 There is already a large warning when the user goes to this screen
 explaining the implications of making edits that they have to accept, and
 the code editor prevents a file from being saved if there are syntax
 errors. 5.2 also adds recovery mode. If users are having trouble and
 making mistakes in the editor, then I'd prefer to improve the current
 experience to prevent that instead of changing the default file to place
 them in a location that will hardly ever be useful.

 Also, if this is switched to `readme.txt`, there is no syntax checking for
 that file type. This could be a problem if the theme directory switches to
 using `readme.txt` files to check for updates. The user would stop
 receiving theme updates if they make a mistake in the file.

 I'm marking this as a `close` candidate pending a second opinion.

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


More information about the wp-trac mailing list