diff --git themes/wporg-support/bbpress/content-single-topic-lead.php themes/wporg-support/bbpress/content-single-topic-lead.php
index 685fd8e..f51d744 100644
|
|
if ( bbp_is_single_view() || bbp_is_search_results() ) : ?> |
54 | 54 | <?php |
55 | 55 | bbp_user_nicename( bbp_get_topic_author_id(), array( |
56 | 56 | 'before' => '<p class="bbp-user-nicename">(@', |
57 | | 'after' => ')</p><br />', |
| 57 | 'after' => ')</p>', |
58 | 58 | ) ); |
59 | 59 | ?> |
60 | 60 | |
| 61 | <?php if ( current_user_can( 'moderate', bbp_get_topic_id() ) && 'bbp_blocked' === bbp_get_user_role( bbp_get_topic_author_id() ) ) : ?> |
| 62 | <p class="wporg-bbp-user-is-blocked">[<?php esc_attr_e( 'This user is blocked', 'wporg-forums' ); ?>]</p> |
| 63 | <?php endif; ?> |
| 64 | |
| 65 | <br> |
| 66 | |
61 | 67 | <?php |
62 | 68 | $title = get_user_option( 'title', bbp_get_topic_author_id() ); |
63 | 69 | if ( $title ) : |
diff --git themes/wporg-support/bbpress/loop-single-reply.php themes/wporg-support/bbpress/loop-single-reply.php
index 2c8b75f..d8181ed 100644
|
|
if ( bbp_is_single_view() || bbp_is_search_results() || bbp_is_single_user_repli |
44 | 44 | ) ); |
45 | 45 | ?> |
46 | 46 | |
| 47 | <?php if ( current_user_can( 'moderate', bbp_get_reply_topic_id() ) && 'bbp_blocked' === bbp_get_user_role( bbp_get_reply_author_id() ) ) : ?> |
| 48 | <p class="wporg-bbp-user-is-blocked">[<?php esc_html_e( 'This user is blocked', 'wporg-support' ); ?>]</p> |
| 49 | <?php endif; ?> |
| 50 | |
47 | 51 | <?php |
48 | 52 | $title = get_user_option( 'title', bbp_get_reply_author_id() ); |
49 | 53 | if ( $title ) : |
diff --git themes/wporg-support/sass/site/_bbpress.scss themes/wporg-support/sass/site/_bbpress.scss
index 65ac741..85d936a 100644
|
|
section { |
422 | 422 | color: #f00; |
423 | 423 | } |
424 | 424 | |
| 425 | p.wporg-bbp-user-is-blocked { |
| 426 | display: inline-block; |
| 427 | color: #f00; |
| 428 | } |
| 429 | |
425 | 430 | .bbp-pagination { |
426 | 431 | font-size: ms(-2); |
427 | 432 | float: none; |