Fixing more WordPress errors