| @@ -22,11 +22,9 @@ | ||
| 22 | 22 | if ( ! $user ) { |
| 23 | 23 | return; |
| 24 | 24 | } |
| 25 | 25 | |
| 26 | -if ( ! $uwp_in_user_loop ) { | |
| 27 | -do_action( 'uwp_template_display_notices', 'profile' ); | |
| 28 | -?> | |
| 26 | +if ( ! $uwp_in_user_loop ){ ?> | |
| 29 | 27 | <div class="card shadow-0 border-0 mw-100"><?php } |
| 30 | 28 | |
| 31 | 29 | if ( ! $hide_cover ) { |
| 32 | 30 | if ( $uwp_in_user_loop ) { |
| @@ -106,9 +104,9 @@ | ||
| 106 | 104 | } |
| 107 | 105 | ?> |
| 108 | 106 | </li> |
| 109 | 107 | </ul> |
| 110 | - <?php echo do_shortcode( "[uwp_user_post_counts disable_greedy=".esc_attr($args['disable_greedy'])."]" ); ?> | |
| 108 | + <?php echo do_shortcode( "[uwp_user_post_counts disable_greedy=".$args['disable_greedy']."]" ); ?> | |
| 111 | 109 | </div> |
| 112 | 110 | <div class="col-12 <?php if ( ! $uwp_in_user_loop ) { ?>col-xl-4 text-xl-right <?php } ?> text-center pt-2"> |
| 113 | 111 | <?php |
| 114 | 112 | echo do_shortcode( "[uwp_button_group]" ); |