fixes to wordpress build