[buddypress-trac] [BuddyPress Trac] #6076: Name or other required profile fields can be whitespace

buddypress-trac noreply at wordpress.org
Tue Dec 23 03:29:33 UTC 2014


#6076: Name or other required profile fields can be whitespace
--------------------------+------------------------------
 Reporter:  justinph      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Core          |     Version:  2.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by justinph):

 This fails in php < 5.5. I just learned the hard way, empty() is a
 language construct (see: http://stackoverflow.com/a/2173318) and you can't
 pass it the result of a function prior to 5.5, it can only operate on a
 variable.

 The new patch works and should be more compatible with earlier versions of
 php.

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


More information about the buddypress-trac mailing list