Fix pma and wp-cli purge