Making WordPress.org

Changeset 5869

Timestamp:
09/03/2017 09:47:54 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Support Forums, User Badges: Add "Plugin Support" badge for users assigned as the plugin support reps.

See #2699.

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  
    199199            } elseif ( $this->is_user_contributor( $info['user_nicename'], $info['type'], $info['slug'] ) ) {
    200200                $contrib_type = 'contributor';
     201
     202
    201203            } else {
    202204                $contrib_type = '';
     
    313315            }
    314316        }
     317
     318
     319
     320
     321
     322
     323
     324
     325
    315326
    316327        return $label ? array( 'type' => $info['type'], 'label' => $label, 'help' => $help ) : false;
     
    388399
    389400        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
    390427    }
    391428
Note: See TracChangeset for help on using the changeset viewer.