← All changes
|
includes/seo/email-report-sections/interface-email-report-section.php
+2
-5
2.3.0
→
2.9.0
View file →
| @@ -45,13 +45,10 @@ | ||
| 45 | 45 | */ |
| 46 | 46 | public function default_enabled(): bool; |
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | - * The Plan_Config capability required to render this section. | |
| 50 | - * | |
| 51 | - * Return null for free sections. AI Highlights returns 'ai_highlights'. | |
| 52 | - * The renderer skips sections whose capability is not satisfied without | |
| 53 | - * raising an error — no surprises if a downgrade hides a Pro section. | |
| 49 | + * Retained for compatibility with sections written against 1.9. The | |
| 50 | + * registry no longer consults it; return null. | |
| 54 | 51 | */ |
| 55 | 52 | public function requires_capability(): ?string; |
| 56 | 53 | |
| 57 | 54 | /** |