Skip to content

The Theme Check plugin sometimes returns "Both DOS and UNIX style line endings" error #680

@mikachan

Description

@mikachan

In version 2.3.0, sometimes the Theme Check plugin returns the following error:

REQUIRED: Both DOS and UNIX style line endings were found in the file readme.txt. This causes a problem with SVN repositories and must be corrected before the theme can be accepted. Please change the file to use only one style of line endings.

This might be related to #662.

We might be able to fix this by using regex to normalise all new lines in the open text fields for the theme meta data.

To reproduce:

  • Update the font credits and manually add image credits using the CBT UI
  • Export the theme zip, install it on a local site, and run the Theme Check plugin

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions