Fix wp core