Avoid notice errors with W3 Total Cache

Avoid errors in the admin with W3 Total Cache when you add an extra space by mistake.
Merge pull request #6591 from SiR-DanieL/patch-1

Avoid notice errors with W3 Total Cache