Skip to content

Instantly share code, notes, and snippets.

@christianwach
Created June 28, 2021 10:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save christianwach/f9d5961a847533680ba9b04127765545 to your computer and use it in GitHub Desktop.
Save christianwach/f9d5961a847533680ba9b04127765545 to your computer and use it in GitHub Desktop.

Why am I seeing this?

The BP xProfile WordPress User Sync plugin is no longer needed because the "First Name" and "Last Name" xProfile Fields that it provides have been added to BuddyPress 8.0.0. In addition to this, BuddyPress itself now handles syncing the data with the built-in WordPress User fields. For more information about this transition, please visit the BuddyPress Dev Update page.

What needs to be done?

Before you go ahead and deactivate and delete the BP xProfile WordPress User Sync plugin, there are few things that need to be checked to make sure your site continues to work the way it did before.

Filters and Actions

If you have not implemented any of the Filters or Actions provided by this plugin, then you can click the "Confirm done" button now.

When you deactivate this plugin, the Filters and Actions that it provides will no longer be available. If you have used them to modify or extend the behaviour of BP xProfile WordPress User Sync, then you will have to figure out the Filters and Actions in BuddyPress that can be used instead. You need to do this before taking any further action.

xProfile Field Settings

In order to switch to using the core BuddyPress functionality, you will have to make some changes to the "First Name" and "Last Name" xProfile Fields that were supplied by this plugin.

First Name Field

  1. Visit the BuddyPress "Profile Fields" page and edit the "First Name" Field.
  2. Use the dropdown to switch the Field Type to "Text field" in the "WordPress Fields" group.
  3. A section called "Select the information you want to use for your WordPress field" will appear.
  4. Select the "First Name" radio button.
  5. Click "Update" to save the Field.

Last Name Field

  1. Visit the BuddyPress "Profile Fields" page and edit the "Last Name" Field.
  2. Use the dropdown to switch the Field Type to "Text field" in the "WordPress Fields" group.
  3. A section called "Select the information you want to use for your WordPress field" will appear.
  4. Select the "Last Name" radio button.
  5. Click "Update" to save the Field.

You should only deactivate and delete BP xProfile WordPress User Sync when you are sure everything mentioned here has been attended to and you have clicked "Submit".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment