While I’m testing my theme with Theme-Check plugin, I got some warning:
WARNING : Both DOS and UNIX style line endings were found in the file theme-options.php. 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.
There are 2 files that raise this warning, theme-options.php and style.css.
What does it mean exactly about this kind of warning and how to solve it?
Thanks in advanced for your advices.
Thanks DimiR! That really helps!
In case of anyone who uses Aptana Studio and face this warning, go to “File > Convert Line Delimeters To > ..”
Bumping this up…
How about a css file that is generated from a less file and compiled through less.inc.php?
Themecheck + Themeforest Check throws out this warning but I’m not sure how to fix this, If I open and re-save the generated file with some text editor the error obviously disappear, but as soon as it regenerates same error shows up again.
Will this actually be critical in the review process?
Yes, it is critical and still required to fix the error.
Thanks for your answer even though that’s not exactly what I wanted to hear
Does anybody have any suggestion on how to fix this? That’s what the PHP less compiler throws out I have no idea how to affect the output in order to fix this warning…!
- Sold between 250 000 and 1 000 000 dollars
- Author was Featured
- Author has had an Item Featured
- United Kingdom
- Exclusive Author
- Attended a Community Meetup
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Referred between 200 and 499 users
Thanks for your answer even though that’s not exactly what I wanted to hear Does anybody have any suggestion on how to fix this? That’s what the PHP less compiler throws out I have no idea how to affect the output in order to fix this warning…!
Why ThemeCheck detects it? Do you save the CSS directly in theme? If so, then you don’t do it right because you must save any custom generated CSS in wp-uploads directory.