[buddypress-trac] [BuddyPress] #4319: Update members-header.php profile field guide to state bp_member_profile_data()
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Tue Jul 31 21:34:12 UTC 2012
#4319: Update members-header.php profile field guide to state
bp_member_profile_data()
-------------------------+-----------------------
Reporter: hnla | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone: 1.6
Component: Theme | Version: 1.6-beta
Severity: trivial | Resolution: fixed
Keywords: 2nd-opinion |
-------------------------+-----------------------
Changes (by boonebgorges):
* status: new => closed
* resolution: => fixed
Comment:
(In [6218]) Improved documentation in member-header.php
In member-header.php template, we suggest to theme authors that they can
include arbitrary profile data by calling a template function. Previously
we recommended bp_profile_field_data(). But this function, when called on
a
field that contains values stored in an array, does not make the array
presentable. The newer bp_member_profile_data() is better for this
purpose.
This changeset updates the documentation accordingly.
Fixes #4319
Props hnla
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4319#comment:2>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list