• Resolved janwyl

    (@janwyl)


    Hi there
    I noticed the plugin is adding whitespace before the !doctype tag. I think it’s caused by carriage returns at the end of these three files:
    artiss-transient-cleaner.php
    includes/clean-transients.php
    includes/shared-functions.php

    Probably won’t cause many people any problems but for reasons I won’t bore you with it was messing up something on my site – hence the discovery.

    All the best
    Jon

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author David Artiss

    (@dartiss)

    Thanks Jon,

    I’ll look at this for the next release of the plugin.

    Plugin Author David Artiss

    (@dartiss)

    I’ve just pushed out version 1.5, with the space removed. Except it isn’t. It turns out the cause was one of my code editors, which is adding them on at the point of saving. So, I’ll release 1.5.1, hopefully tomorrow, with the space finally removed!

    Thread Starter janwyl

    (@janwyl)

    Ah no worries 🙂 thanks for the update!

    Plugin Author David Artiss

    (@dartiss)

    1.5.1 should now fix this 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Plugin adds whitespace before doctype’ is closed to new replies.