[buddypress-trac] [BuddyPress Trac] #5500: Date xprofile field enhancement
buddypress-trac
noreply at wordpress.org
Thu Aug 18 08:39:15 UTC 2016
#5500: Date xprofile field enhancement
-------------------------------------+------------------
Reporter: sooskriszta | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 2.7
Component: Extended Profile | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+------------------
Comment (by DJPaul):
I'll try to make time to look at this properly over the weekend, but in
reply to your question:
Field Type is intended to represent a generic type of profile field,
rather than a specific instance of a field. A Field Type object has no
value (the value each member inputs) -- its methods that output HTML use
the templating loop -- so it having a mechanism to store data doesn't seem
appropriate.
But. When I was looking at #7162, which involves e.g. creating a special
Field Type that maps to WordPress' authors' "biography" field, I found
some problems with retrieval of some of this extra data (prob. not
relevant to this ticket) and I also had concerns about a Field Type
needing to have a place to save the extra data.
As this problem has come up twice, we do need to do something. Whether
that's change Field Type or not, I need to more time to consider this and
hopefully come up with a suggestion.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5500#comment:52>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list