Changeset 10839
- Timestamp:
- 03/23/2021 01:03:42 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-also-viewing/wporg-bbp-also-viewing.php
r10821 r10839 83 83 } 84 84 85 return 86 allowed_for_user( $user_id ) && 87 get_user_meta( $user_id, USER_OPTION, true ); 85 return (bool) get_user_meta( $user_id, USER_OPTION, true ); 88 86 } 89 87 … … 105 103 106 104 return 105 enabled( $user_id ) || 107 106 user_can( $user_id, 'moderate' ) || 108 107 bbp_get_user_reply_count( $user_id, true ) >= REPLY_THRESH;
Note: See TracChangeset
for help on using the changeset viewer.