partial-alerts-errors.php 744 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * WPSEO plugin file.
  4. *
  5. * @package WPSEO\Admin
  6. */
  7. $type = 'alerts';
  8. $dashicon = 'warning';
  9. $i18n_title = __( 'Problems', 'wordpress-seo' );
  10. $i18n_issues = __( 'We have detected the following issues that affect the SEO of your site.', 'wordpress-seo' );
  11. $i18n_no_issues = __( 'Good job! We could detect no serious SEO problems.', 'wordpress-seo' );
  12. $i18n_muted_issues_title = __( 'Muted problems:', 'wordpress-seo' );
  13. $active_total = count( $alerts_data['errors']['active'] );
  14. $total = $alerts_data['metrics']['errors'];
  15. $active = $alerts_data['errors']['active'];
  16. $dismissed = $alerts_data['errors']['dismissed'];
  17. require WPSEO_PATH . 'admin/views/partial-alerts-template.php';