diff --git a/inc/helpers/user-center-renderers/profile-header.php b/inc/helpers/user-center-renderers/profile-header.php index a79256a7..fcb06c58 100644 --- a/inc/helpers/user-center-renderers/profile-header.php +++ b/inc/helpers/user-center-renderers/profile-header.php @@ -46,30 +46,20 @@ extract($context, EXTR_SKIP); // phpcs:ignore WordPress.PHP.DontExtract.extract_ echo \AKSRT\User\Level::get_badge_html((int) $user_id); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } ?> - - description) : ?> -

description); ?>

- - -
- - '; + } } ?> - - - - <?php echo esc_attr($signal['label']); ?> - - - - - - -
+ + description) : ?> +

description); ?>

diff --git a/templates/parts/user/author-hero.php b/templates/parts/user/author-hero.php index ccd68ce6..9ac275a2 100644 --- a/templates/parts/user/author-hero.php +++ b/templates/parts/user/author-hero.php @@ -92,18 +92,20 @@ $pm_url = ($pm_enabled && $messages_url !== '')

- display_name); ?> - -

+ display_name); ?> + false, + 'skip_level' => false, + ]); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped + } + ?> + - -
- + +
+
- - false, 'skip_level' => true]); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped - ?> - -
- - - description) : ?> + description) : ?>

description); ?>