1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<?php /** * WPSEO plugin file. * * @package WPSEO\Admin * * @uses array $alerts_data */
$type = 'alerts'; $dashicon = 'warning';
$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' ); $i18n_muted_issues_title = __( 'Muted problems:', 'wordpress-seo' );
$active_total = count( $alerts_data['errors']['active'] ); $total = $alerts_data['metrics']['errors'];
$active = $alerts_data['errors']['active']; $dismissed = $alerts_data['errors']['dismissed'];
require WPSEO_PATH . 'admin/views/partial-alerts-template.php';
|