Support User Account properly for profiles
Currently, only Drupal properly implements the Used For options for Profiles. This issue chips away at the backlog for WordPress by proposing to properly support User Account.
- Change the [x] option for User Account for all profiles so that it is a checkbox widget.
- If User Account is unchecked, do not change current behaviour of CiviCRM
- If User Account is checked, expose the profile on wp-admin/user-edit.php?user_id=nnn and wp-admin/profile.php?user_id=nnn in an appropriate manner consistent with other plugin fields that are exposed. When Update Profile is clicked, validate the profile as appropriate for this form. Once the form is validated, save the field values as appropriate.
- Create unit tests.