PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / 27.7
Yoast SEO – Advanced SEO with real-time guidance and built-in AI v27.7
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
wordpress-seo / admin / views / partial-notifications-warnings.php

partial-notifications-warnings.php in Yoast SEO – Advanced SEO with real-time guidance and built-in AI 27.7, at admin/views/partial-notifications-warnings.php

30 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * WPSEO plugin file.
4 *
5 * @package WPSEO\Admin
6 *
7 * @uses array $notifications_data
8 */
9
10 $yoast_seo_type = 'warnings';
11 $yoast_seo_dashicon = 'flag';
12
13 $yoast_seo_active = $notifications_data['warnings']['active'];
14 $yoast_seo_dismissed = $notifications_data['warnings']['dismissed'];
15
16 $yoast_seo_active_total = count( $notifications_data['warnings']['active'] );
17 $yoast_seo_dismissed_total = count( $notifications_data['warnings']['dismissed'] );
18 $yoast_seo_total = $notifications_data['metrics']['warnings'];
19
20 $yoast_seo_i18n_title = __( 'Notifications', 'wordpress-seo' );
21 $yoast_seo_i18n_issues = '';
22 $yoast_seo_i18n_no_issues = __( 'No new notifications.', 'wordpress-seo' );
23 $yoast_seo_i18n_muted_issues_title = sprintf(
24 /* translators: %d expands the amount of hidden notifications. */
25 _n( 'You have %d hidden notification:', 'You have %d hidden notifications:', $yoast_seo_dismissed_total, 'wordpress-seo' ),
26 $yoast_seo_dismissed_total,
27 );
28
29 require WPSEO_PATH . 'admin/views/partial-notifications-template.php';
30