Updated to an WordPress config provider and factories.