← All changes
|
views/admin/email/analytics/parts/single-keyword.php
+6
-2
4.4.1
→
4.9.3
View file →
| @@ -1,7 +1,11 @@ | ||
| 1 | 1 | <?php |
| 2 | - | |
| 3 | - /** | |
| 2 | +// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- view template receives variables via extract(); prefixing is impractical. | |
| 3 | +// phpcs:disable PluginCheck.CodeAnalysis.Offloading.OffloadedContent -- HTML email assets must be remote. | |
| 4 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 5 | + exit; | |
| 6 | +} | |
| 7 | +/** | |
| 4 | 8 | * @var object $keyword |
| 5 | 9 | */ |
| 6 | 10 | |
| 7 | 11 | if ( $keyword->count > 0 ) { |