PluginProbe
wpForo Forum / 3.2.1
wpForo Forum v3.2.1
3.2.1 3.2.0 3.1.7 3.1.6 3.1.5 3.1.4 3.1.2 3.1.1 3.1.0 3.0.9 3.0.8 3.0.7 trunk 1.0.0 1.0.1 1.0.2 1.1.0 1.1.1 1.1.2 1.2.0 1.3.0 1.3.1 1.4.0 1.4.1 1.4.10 All 141 releases
← All changes | admin/pages/news/src/Services/PrefsService.php +3 -1 3.1.7 → 3.2.1 View file →
@@ -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 ) {