Fix bug with WordPress installs in subdirectories not saving settings