Changeset 9476
- Timestamp:
- 02/06/2020 03:21:28 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-term-subscription/inc/class-plugin.php
r8694 r9476 392 392 return; 393 393 } 394 395 // Don't display the subscriptions unless it's the current user, or they can edit that user. 396 if ( ! bbp_is_user_home() && ! current_user_can( 'edit_user', bbp_get_displayed_user_id() ) ) { 397 return; 398 } 399 394 400 $terms = self::get_user_taxonomy_subscriptions( $user_id, $this->taxonomy ); 395 401 ?>
Note: See TracChangeset
for help on using the changeset viewer.