[buddypress-trac] [BuddyPress Trac] #5731: text/number profile fields not rendered if value == 0

buddypress-trac noreply at wordpress.org
Fri Jun 27 22:23:18 UTC 2014


#5731: text/number profile fields not rendered if value == 0
--------------------------+------------------
 Reporter:  DJPaul        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  2.1
Component:  XProfile      |     Version:  1.0
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------

Comment (by DJPaul):

 Ooh, that's an appealing looking almost-hack relying on PHP's type
 crappiness. I can't immediately see any downsides to it, though we'd
 probably want to leave a comment near where we used that to indicate that
 we were using `!=` instead of `!==` on purpose to avoid accidentally
 breaking this during any future code review.

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


More information about the buddypress-trac mailing list