HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux bsx-1-dev 6.8.0-101-generic #101-Ubuntu SMP PREEMPT_DYNAMIC Mon Feb 9 10:15:05 UTC 2026 x86_64
User: www-data (33)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/memberpress/app/views/shared/unauthorized_message.php
<?php defined('ABSPATH') || exit; ?>
<div class="mp_wrapper">
<?php if (!empty($unauth->excerpt)) : ?>
  <div class="mepr-unauthorized-excerpt">
    <?php
    echo MeprAppHelper::wp_kses($unauth->excerpt); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    ?>
  </div>
<?php endif; ?>
<?php if (!empty($unauth->message)) : ?>
  <div class="mepr-unauthorized-message">
    <?php echo wp_kses_post($unauth->message); ?>
  </div>
<?php endif; ?>
<?php if (!MeprUtils::is_user_logged_in()) : ?>
  <div class="mepr-login-form-wrap">
    <?php if ($show_login) : ?>
        <?php echo $form; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
    <?php elseif (is_singular()) : // Let's not show the annoying login link on non singular pages. ?>
    <span class="mepr-login-link"><a href="<?php echo esc_url($mepr_options->login_page_url()); ?>"><?php echo esc_html(MeprHooks::apply_filters('mepr_unauthorized_login_link_text', _x('Login', 'ui', 'memberpress'))); ?></a></span>
    <?php endif; ?>
  </div>
<?php endif; ?>
</div>