Breaks on PHP 8.0
Cookies for Comments 0.5.5 uses PHP features that were removed in PHP 8.0. Sites running this version on PHP 8.0 or newer can show errors when that code runs.
PHP 8.0
✗ 1PHP 8.1
✗ 1PHP 8.2
✗ 1PHP 8.3
✗ 1PHP 8.4
✗ 1PHP 8.5
✗ 1✓ no problems · ⚠ deprecation notices only (still works) · ✗ uses something removed in that PHP version
Not updated for 7.4 years. Nobody seems to maintain this plugin, so problems found here are unlikely to be fixed. If your site uses it, look for a maintained alternative before upgrading PHP.
Check your whole site, not just one plugin. The free PHP Upgrade Check plugin scans every plugin and theme you have installed (including premium and custom ones) and explains each problem. It runs on any host.
What breaks on PHP 8.0
| File:line | What |
|---|---|
cookies-for-comments.php:112 | Function create_function() is deprecated since PHP 7.2 and removed since PHP 8.0; Use an anonymous function instead |
Plugin page on WordPress.org: cookies-for-comments