Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 13 years ago

#5222 closed defect (bug) (fixed)

Cannot fetch XProfile field visibility without also fetching field data

Reported by: johnjamesjacoby Owned by: johnjamesjacoby
Priority: normal Milestone: 1.9
Component: Extended Profile Version: 1.6
Severity: normal Keywords: has-patch
Cc:

Description

I'd like to be able to fetch XProfile fields and their visibility levels, without the added overhead of also fetching all field data. Currently this is not possible.

Attachments (1)

5222.patch (647 bytes ) - added by johnjamesjacoby 13 years ago.

Download all attachments as: .zip

Change History (2)

#1 @johnjamesjacoby
13 years ago

  • Resolutionfixed
  • Status newclosed

In 7511:

Fetching XProfile field visibility levels should not be dependant on fetching field data.

Allow the fetching of only visibility levels without field data in BP_XProfile_Group::get() by moving the block outside of the $fetch_field_data check. Fixes #5222.

Note: See TracTickets for help on using tickets.