Skip to:
Content

BuddyPress.org

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's profile jeffsayre Owned by: jeffsayre's profile 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' ?>"

Change History (3)

#1 @jeffsayre
15 years ago

  • Owner set to jeffsayre
  • Status changed from new to assigned

#2 @apeatling
15 years ago

  • Milestone changed from 1.0.4 to 1.1

Milestone 1.0.4 deleted

#3 @apeatling
15 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [1728]) Fixes #876

Note: See TracTickets for help on using tickets.