[buddypress-trac] [BuddyPress] #3509: bp-core-signup.php Bug

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Aug 24 11:24:06 UTC 2011

#3509: bp-core-signup.php Bug
 Reporter:  spades_avatar  |      Owner:
     Type:  defect         |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Core           |    Version:  1.2.9
 Severity:  normal         |   Keywords:
 On registration, if 1 January 1970 is entered in any date fields on the
 'profile signup form' (it IS a valid day), the unix timestamp created will
 be 0, effectively returning the field to be empty.

 empty( $_POST['field_' . $field_id]

 needs to be changed to something like

 $_POST['field_' . $field_id] === false

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3509>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list