Changeset 5869
- Timestamp:
- 09/03/2017 09:47:54 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-user-badges/inc/class-plugin.php
r5523 r5869 199 199 } elseif ( $this->is_user_contributor( $info['user_nicename'], $info['type'], $info['slug'] ) ) { 200 200 $contrib_type = 'contributor'; 201 202 201 203 } else { 202 204 $contrib_type = ''; … … 313 315 } 314 316 } 317 318 319 320 321 322 323 324 325 315 326 316 327 return $label ? array( 'type' => $info['type'], 'label' => $label, 'help' => $help ) : false; … … 388 399 389 400 return $contributors && in_array( $user_nicename, $contributors ); 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 390 427 } 391 428
Note: See TracChangeset
for help on using the changeset viewer.