Skip to:
Content

BuddyPress.org

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#5001 closed defect (bug) (fixed)

Display Member Profile action call missing in 1.7-theme-compat mode

Reported by: mjustice's profile mjustice Owned by: boonebgorges's profile boonebgorges
Milestone: 1.7.2 Priority: normal
Severity: normal Version: 1.7
Component: Members Keywords:
Cc:

Description

When displaying the member profile's screen, there is an action that gets called in the non-theme-compat code called 'bp_members_screen_display_profile'. This action does not get called if you are using the new theme-compat mode. I don't know if this is intentional or not -- my guess is that it is just an oversight since the other screen contained in the same file -- the members listing/home page -- has the actions called in both the theme-compat and the non-theme-compat code.

Patch attached adds the action in the necessary place.

Attachments (1)

5001.diff (613 bytes) - added by mjustice 11 years ago.

Download all attachments as: .zip

Change History (4)

@mjustice
11 years ago

#1 @boonebgorges
11 years ago

  • Milestone changed from Awaiting Review to 1.7.2

Yup, this definitely looks like an oversight. Since it may be breaking existing plugins, I'm going to fix this for 1.7.2. Thanks for the patch!

#2 @boonebgorges
11 years ago

  • Owner set to boonebgorges
  • Resolution set to fixed
  • Status changed from new to closed

In 7068:

Reinstates 'bp_members_screen_display_profile' action for theme compat mode

This action hook, which is present in the legacy screen function, appears not
to have been included when the screen functions were migrated to theme compat.

Fixes #5001

Props mjustice

#3 @boonebgorges
11 years ago

In 7069:

Reinstates 'bp_members_screen_display_profile' action for theme compat mode

This action hook, which is present in the legacy screen function, appears not
to have been included when the screen functions were migrated to theme compat.

Fixes #5001

Props mjustice

Note: See TracTickets for help on using tickets.