[buddypress-trac] [BuddyPress Trac] #7300: xprofile date field year regression on existing fields

buddypress-trac noreply at wordpress.org
Tue Oct 25 21:15:20 UTC 2016


#7300: xprofile date field year regression on existing fields
------------------------------+---------------------
 Reporter:  DJPaul            |       Owner:  djpaul
     Type:  defect (bug)      |      Status:  closed
 Priority:  high              |   Milestone:  2.7.1
Component:  Extended Profile  |     Version:
 Severity:  major             |  Resolution:  fixed
 Keywords:  commit            |
------------------------------+---------------------
Changes (by djpaul):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"11210"]:
 {{{
 #!CommitTicketReference repository="" revision="11210"
 xprofile: fix regression being unable to select year in date field type.

 Pre-2.7 date fields do not have all of the new field meta properties set,
 and the requested metas were returned as an empty string, not a boolean
 false. The type strictness of the check changed in this commit caused the
 value(s) of the year field to be set to an empty array, instead of picking
 up the range of dates from the defaults.

 This was probably caused by some misleading PHPDoc for
 `bp_xprofile_get_meta`, which we're going to look into seperately.

 Fixes #7300
 }}}

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


More information about the buddypress-trac mailing list