Changeset 3980
- Timestamp:
- 09/06/2016 08:51:25 PM (9 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
r3978 r3980 206 206 } 207 207 208 return in_array( $user_login, $authors );208 return $authors && in_array( $user_login, $authors ); 209 209 } 210 210 … … 248 248 } 249 249 250 return in_array( $user_login, $contributors );250 return $contributors && in_array( $user_login, $contributors ); 251 251 } 252 252
Note: See TracChangeset
for help on using the changeset viewer.