Scott Fennell, Thanks for your answer as well.
I am not using only one browser, usually switch between Opera, Firefox, Chrome. I only use IE for testing purposes. As I said I tried various installs before doing the post and in all of them this happened. About the caching plugin – I really like the idea but not how all of them work. Installed 3 to test so far and they are all gone a long time ago. I suppose I still don’t need one so desperately.
I can’t really say is exactly from the 3.8 core, this thing just started to appear since I updated/started using WP 3.8. I knew that it won’t be long before 3.8.1 to appear and thought that this is some funny error, but the empty lines are there and it is very annoying. The lines are somehow excluded from the WP editor when the file is used there, but they appear in the offline editor. And although I remove them, and ftp the file, next time I use the WP editor and modify something, the empty lines are there (in offline editor.)
…after having activated a caching plugin AND/OR while using a really old version of IE…
I believe that what I wrote is being misunderstood – I don’t see the empty lines in the online WP editor itself, they appear in files only if I used the WP editor to save a change and after that use the files in offline editor!!!!
I also have described how this can be checked:
So try to download your style.css for example and edit it with different editor than the one integrated in WP. Then upload it back, do an edit in WP editor, save it and check back the file in your offline editor. I believe you will see the difference.
Here is a quick example. I write my code in editor like notepad++ like this:
@media screen and (min-width: 960px) {
.site {
max-width: 1000px;
max-width: 71.4285rem;
}
}
.ie .site {max-width: 1000px;}
footer[role="contentinfo"] {
max-width: 1000px;
max-width: 71.4285rem;
}
After that I upload the file on the server and imagine I have to make a quick change like changing the font size. I do it through the WP editor, where the code looks exactly how I wrote it, I save it and in the WP editor the code still looks exactly how I wrote it.
But 99% of the time I write the code in editor like notepad++ and the next time when I want to edit my code in notepad++ it looks like this:
@media screen and (min-width: 960px) {
.site {
max-width: 1000px;
max-width: 71.4285rem;
}
}
.ie .site { max-width: 1000px; }
footer[role="contentinfo"] {
max-width: 1000px;
max-width: 71.4285rem;
}
As I said it doesn’t affect the site functionality but my user experience when I edit the code in 20 or 50 files. I can’t loose hours to remove all the lines every day every time I do the changes.
The main trouble is that this lines are counted and as I wrote in my previous post
And also imagine I am writing notes for certain changes on a row 2500 from 7000 lines and when I go back and search for that specific change on row 2500 its not there but on the row 3800 for example because of that empty lines. If I edit a single file ones in a week, I can live with that, but…
this makes big difference.