[buddypress-trac] [BuddyPress Trac] #6349: Remove restriction that XProfile fields must have a field group
buddypress-trac
noreply at wordpress.org
Fri Apr 3 23:23:27 UTC 2015
#6349: Remove restriction that XProfile fields must have a field group
----------------------------------+----------------------------------
Reporter: johnjamesjacoby | Owner:
Type: enhancement | Status: new
Priority: low | Milestone: Under Consideration
Component: Component - XProfile | Version:
Severity: minor | Resolution:
Keywords: 2nd-opinion |
----------------------------------+----------------------------------
Comment (by boonebgorges):
The template loop `bp_has_profile()` loops first through groups, and only
then through fields. Fields without a group will therefore not be
queryable through a normal template loop.
I don't like the way the template loop currently works, so I think it's
worth looking into rewriting it. But I think we probably shouldn't change
the behavior of `xprofile_insert_field()` until it's possible to query
groupless fields with `bp_has_profile()`.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6349#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list