Opened 15 years ago
Closed 15 years ago
#876 closed defect (bug) (fixed)
Cancel button in WPMU Admin for editing xprofile fields triggers error
Reported by: | jeffsayre | Owned by: | jeffsayre |
---|---|---|---|
Milestone: | 1.1 | Priority: | major |
Severity: | Version: | ||
Component: | Keywords: | edit fields, admin bug | |
Cc: |
Description
When editing or setting up a BuddyPress profile field in the backend, there is a red "Cancel" link just right of the "Save" button.
Currently, if an Admin selects the cancel link, it triggers an error, bringing up a "Cannot load" message. This is because the url path is not properly set for the cancel action.
On line 767 of bp-xprofile-classes.php, instead of this:
<a href="admin.php?page=" . BP_PLUGIN_DIR . "/bp-xprofile.php"
It should be this:
<a href="admin.php?page=<?php echo BP_PLUGIN_DIR . '/bp-xprofile.php' ?>"
Milestone 1.0.4 deleted