CRM-12674 wordpress fix broke update settings for drupal - refactored version