[buddypress-trac] [BuddyPress Trac] #7035: No way to check empty value when using URL text field

buddypress-trac noreply at wordpress.org
Wed Jun 22 11:54:06 UTC 2016


#7035: No way to check empty value when using URL text field
-------------------------------+----------------------
 Reporter:  Dianakc            |       Owner:
     Type:  enhancement        |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Core               |     Version:  2.5.0
 Severity:  normal             |  Resolution:  invalid
 Keywords:  reporter-feedback  |
-------------------------------+----------------------
Changes (by DJPaul):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 I am not sure about the original report as we don't have much information,
 but for @espellcaste's comment above, the call to
 `bp_get_profile_field_data()` is wrong. You need to pass `array( 'field'
 => 'field_id_or_name', 'user_id' => 117)` to the function, not just a user
 ID. It doesn't return ALL fields for the user, only the one specified.

 @Dianakc We need more information. How exactly are you trying to get the
 data? Can you share the code? We can re-open this ticket and investigate
 if you provide more information. thanks.

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


More information about the buddypress-trac mailing list