Changeset 5670
- Timestamp:
- 07/14/2017 12:23:26 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-user-notes.php
r5669 r5670 385 385 $post_id = get_the_ID(); 386 386 387 // Notes are only displayed for other users. 388 if ( $user_id == get_current_user_id() ) { 389 return; 390 } 391 387 392 // Only keymasters can see notes on moderators. 388 393 if ( user_can( $user_id, 'moderate' ) && ! current_user_can( 'keep_gate' ) ) { … … 413 418 $post_id = get_the_ID(); 414 419 420 // Notes are only displayed for other users. 421 if ( $user_id == get_current_user_id() ) { 422 return; 423 } 424 415 425 // Only keymasters can see notes on moderators. 416 426 if ( user_can( $user_id, 'moderate' ) && ! current_user_can( 'keep_gate' ) ) { … … 440 450 441 451 $user_id = bbp_get_displayed_user_id(); 452 453 // Notes are only displayed for other users. 454 if ( $user_id == get_current_user_id() ) { 455 return; 456 } 442 457 443 458 // Only keymasters can see notes on moderators.
Note: See TracChangeset
for help on using the changeset viewer.