[buddypress-trac] [BuddyPress Trac] #7641: Add "IDs only" return format option for BP_Signup::get().

buddypress-trac noreply at wordpress.org
Tue Jan 9 02:20:27 UTC 2018


#7641: Add "IDs only" return format option for BP_Signup::get().
--------------------------------------+--------------------------
 Reporter:  espellcaste               |       Owner:  espellcaste
     Type:  enhancement               |      Status:  assigned
 Priority:  normal                    |   Milestone:  3.0
Component:  Members                   |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |
--------------------------------------+--------------------------

Comment (by boonebgorges):

 > Can you please look into why this value is not being returned as an
 integer?

 `$signup` is a row pulled from a `$wpdb->get_results()` database query.
 `$wpdb->get_results()` results are always arrays/objects with string
 values. https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-
 members/classes/class-bp-signup.php?marks=210,222#L200

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


More information about the buddypress-trac mailing list