| @@ -17,8 +17,10 @@ | ||
| 17 | 17 | * Categories: |
| 18 | 18 | * - expiry_reminder (emails only — transactional) |
| 19 | 19 | * - renewal_offer (emails only — unused personal renewal |
| 20 | 20 | * discount reminders, unsubscribable separately from expiry warnings) |
| 21 | + * - blocked_update (emails only — WordPress found new versions of | |
| 22 | + * licensed addons but this site blocks plugin installs) | |
| 21 | 23 | * - new_addon, new_feature, announcement (news content types) |
| 22 | 24 | * - addons_installed / addons_not_installed (relevance filter — applies only |
| 23 | 25 | * to news items targeted at a specific addon via plugin_slug: news about an |
| 24 | 26 | * addon the site has installed vs news about addons it doesn't have) |
| @@ -44,9 +46,9 @@ | ||
| 44 | 46 | /** Relevance filter for addon-targeted news (items with a plugin_slug). */ |
| 45 | 47 | public const RELEVANCE_CATEGORIES = [ 'addons_installed', 'addons_not_installed' ]; |
| 46 | 48 | |
| 47 | 49 | /** Categories that only exist on the emails channel. */ |
| 48 | - public const EMAIL_ONLY_CATEGORIES = [ 'expiry_reminder', 'renewal_offer', 'abandoned_checkout', 'recommendations' ]; | |
| 50 | + public const EMAIL_ONLY_CATEGORIES = [ 'expiry_reminder', 'renewal_offer', 'abandoned_checkout', 'blocked_update', 'recommendations' ]; | |
| 49 | 51 | |
| 50 | 52 | private $config; |
| 51 | 53 | |
| 52 | 54 | public function __construct( Config $config ) { |