WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#20248 closed defect (bug) (duplicate)

Themes and plugins are not recognized when edited and the line breaks are saved as "\r".

Reported by: azaozz Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Editor Keywords:
Focuses: Cc:

Description

This can happen if the user has old Mac that runs MacOS < 10. Seems some of the browsers of that time use the native \r line end format.

Solution seems to be to normalize line breaks when saving edited theme and plugin files, all current browsers seem to work well with \n.

Change History (3)

#1 @azaozz
5 years ago

Related: #9716.

#2 @solarissmoke
5 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

#3 @helenyhou
5 years ago

  • Milestone Future Release deleted
Note: See TracTickets for help on using tickets.