[buddypress-trac] [BuddyPress Trac] #5630: Enable BP_XProfile_Field_Type classes to register display filter

buddypress-trac noreply at wordpress.org
Wed Jun 25 13:36:46 UTC 2014


#5630: Enable BP_XProfile_Field_Type classes to register display filter
-----------------------------------+---------------------------
 Reporter:  boonebgorges           |       Owner:  boonebgorges
     Type:  defect (bug)           |      Status:  closed
 Priority:  normal                 |   Milestone:  2.1
Component:  XProfile               |     Version:
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"8547"]:
 {{{
 #!CommitTicketReference repository="" revision="8547"
 Introduce BP_XProfile_Field_Type::display_filter(), and implement in
 BP_XProfile_Field_Type_Datebox.

 The new display_filter() method makes it easy for field types to customize
 the
 appearance of its values. In the case of Datebox fields, this means
 formatting
 the MySQL- or UNIX-formatted date in the format of bp_format_time().

 Fixes #5630
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5630#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list