ldc-sbv/pole-sbv-content/plugins/wordpress-seo/admin/views/partial-alerts-errors.php

23 lines
744 B
PHP
Raw Normal View History

2017-11-10 11:45:43 +01:00
<?php
/**
2018-04-16 15:29:38 +02:00
* WPSEO plugin file.
*
2017-11-10 11:45:43 +01:00
* @package WPSEO\Admin
*/
2017-12-11 16:34:19 +01:00
$type = 'alerts';
2017-11-10 11:45:43 +01:00
$dashicon = 'warning';
2017-12-11 16:34:19 +01:00
$i18n_title = __( 'Problems', 'wordpress-seo' );
$i18n_issues = __( 'We have detected the following issues that affect the SEO of your site.', 'wordpress-seo' );
$i18n_no_issues = __( 'Good job! We could detect no serious SEO problems.', 'wordpress-seo' );
2017-11-10 11:45:43 +01:00
$i18n_muted_issues_title = __( 'Muted problems:', 'wordpress-seo' );
$active_total = count( $alerts_data['errors']['active'] );
2017-12-11 16:34:19 +01:00
$total = $alerts_data['metrics']['errors'];
2017-11-10 11:45:43 +01:00
2017-12-11 16:34:19 +01:00
$active = $alerts_data['errors']['active'];
2017-11-10 11:45:43 +01:00
$dismissed = $alerts_data['errors']['dismissed'];
2017-12-11 16:34:19 +01:00
require WPSEO_PATH . 'admin/views/partial-alerts-template.php';