| 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 {
?>
<div id="seopress-notifications-center" class="seopress-notifications-center">
<div class="seopress-notifications-list-content seopress-notifications-active">
<?php
$args = seopress_get_service('Notifications')->generateAllNotifications();
$args = seopress_get_service('Notifications')->orderByImpact($args);
if (!empty($args)) {
foreach($args as $arg) {
if (isset($arg['status']) && $arg['status'] === true) {
echo wp_kses_post(seopress_get_service('Notifications')->renderNotification($arg));
}
}
}
if ($total === 0) { ?>
<div class="seopress-notifications-none">
<img src="<?php echo esc_url(SEOPRESS_ASSETS_DIR . '/img/ico-notifications.svg'); ?>" width="56" height="56" alt=""/>
<h3>
<?php esc_attr_e('You don‘t have any notifications yet!', 'wp-seopress'); ?>
</h3>
</div>
<?php }
?>
</div>
<details class="seopress-notifications-hidden">
<summary class="seopress-notifications-list-title">
<img src="<?php echo esc_url(SEOPRESS_ASSETS_DIR . '/img/ico-notifications-hidden.svg'); ?>" alt='' width='32' height='32' />
<h3 id="seopress-hidden-notifications"><?php esc_attr_e('Hidden notifications','wp-seopress'); ?></h3>
</summary>
<div class="seopress-notifications-list-content">
<?php
if (!empty($args)) {
$html = '';
foreach($args as $arg) {
if (isset($arg['status']) && $arg['status'] === false) {
$html .= seopress_get_service('Notifications')->renderNotification($arg);
}
}
if (!empty($html)) {
echo wp_kses_post($html);
} else {
echo '<p>' . esc_attr__('You currently have no hidden notifications.', 'wp-seopress') . '</p>';
}
}
?>
</div>
</details>
</div>
<!--#seopress-notifications-center-->
<?php
}