removed some more wordpress specific code