fixed new wordpress php standards