| Server IP : 87.98.154.146 / Your IP : 216.73.216.165 Web Server : Apache System : Linux webm004.cluster126.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : ohklomafyi ( 52085) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/ohklomafyi/www/wp-content/plugins/wp-seopress/inc/admin/blocks/ |
Upload File : |
<?php
defined('ABSPATH') or exit('Please don’t call the plugin directly. Thanks :)');
if (defined('SEOPRESS_WL_ADMIN_HEADER') && SEOPRESS_WL_ADMIN_HEADER === false) {
//do nothing
} else {
$notifications = seopress_get_service('Notifications')->getSeverityNotification('all');
$total = $alerts_high = $alerts_medium = $alerts_low = $alerts_info = 0;
if (!empty($notifications['total'])) {
$total = $notifications['total'];
}
$class = '1' !== seopress_get_service('AdvancedOption')->getAppearanceNotification() ? 'is-active' : '';
if ($total !== 0) {
?>
<div id="seopress-notifications" class="seopress-notifications seopress-card <?php echo esc_attr($class); ?>" style="display: none">
<div class="seopress-card-content">
<p>
<?php
/* translators: %s number of notifications */
printf(esc_attr(_n('You have %s notification. We strongly encourage you to resolve this issue to avoid any SEO damage.', 'You have %s notifications. We strongly encourage you to resolve these issues to avoid any SEO damage.', esc_attr($total), 'wp-seopress')), '<span>'.esc_attr($total).'</span>');
?>
</p>
<button id="seopress-see-notifications" type="button" role="tab" aria-selected="true" data-panel="notifications" class="btn btnSecondary">
<?php esc_attr_e('See all notifications', 'wp-seopress'); ?>
</button>
</div>
</div>
<?php
}
}