Update to 2.0.11 has potential to remove DOCTYPE
-
Hey all,
I tested this out on a few live testing sites as well as a few local ones and it appears that with just the Breeze plugin running on the site and updated to the latest 2.0.11 release the <!DOCTYPE html> gets removed from the top of the site if “Lazy Load Images” or “Cross-origin Safe Links” is active.
Steps to reproduce:
-
– Fired up a new site on Local by Flywheel.
– Installed Breeze plugin.
– Verified the existence of <!DOCTYPE html> by checking a post in an incognito window.
– Went back and enabled either Lazy Load Images, Cross-origin Safe Links (or both) then purged the cache.
– When checking again in an incognito window, I can see that <!DOCTYPE html> is removed.
– If I go back to Breeze, disable those options, clear cache, then head back to the post in an incognito window I can see that the <!DOCTYPE html> returns in the page source.It looks like these optimizations are disabled for logged in users, so I wasn’t able to replicate while logged directly into the site but logging out will show the issue.
DOCTYPE is a required preamble according to HTML specs so not sure why these settings remove that.
If I rollback to the previous version, then this behavior doesn’t occur.
- The topic ‘Update to 2.0.11 has potential to remove DOCTYPE’ is closed to new replies.