diff --git src/bp-members/classes/class-bp-signup.php src/bp-members/classes/class-bp-signup.php
index 3b70c5999..1ff6dc662 100644
|
|
class BP_Signup { |
242 | 242 | |
243 | 243 | // Activation key trumps other parameters because it should be unique. |
244 | 244 | if ( ! empty( $r['activation_key'] ) ) { |
245 | | |
246 | 245 | $sql['where'][] = $wpdb->prepare( "activation_key = %s", $r['activation_key'] ); |
247 | 246 | |
248 | | // `Include` finds signups by ID. |
| 247 | // `Include` finds signups by ID. |
249 | 248 | } else if ( ! empty( $r['include'] ) ) { |
250 | 249 | |
251 | 250 | $in = implode( ',', wp_parse_id_list( $r['include'] ) ); |
252 | 251 | $sql['where'][] = "signup_id IN ({$in})"; |
253 | 252 | |
254 | | /** |
255 | | * Finally, the general case where a variety of parameters |
256 | | * can be used in combination to find signups. |
257 | | */ |
| 253 | /** |
| 254 | * Finally, the general case where a variety of parameters |
| 255 | * can be used in combination to find signups. |
| 256 | */ |
258 | 257 | } else { |
259 | | |
260 | 258 | // Active. |
261 | 259 | if ( false !== $r['active'] ) { |
262 | 260 | $sql['where'][] = $wpdb->prepare( "active = %d", absint( $r['active'] ) ); |