site fixes to core wp file