Conditions | 1 |
Paths | 1 |
Total Lines | 5 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
31 | protected function notify(string $name): void |
||
32 | { |
||
33 | $notice = _x('Update %s to v%s or higher to enable the integration with Site Reviews.', 'admin-text', 'site-reviews'); |
||
34 | $version = glsr(Sanitizer::class)->sanitizeVersion($this->supportedVersion()); |
||
35 | glsr(Notice::class)->addWarning(sprintf($notice, $name, $version)); |
||
36 | } |
||
48 |