Fixes to wp config