Does Defender work with WordPress 6.0.1 and PHP 7.4.8? A smoke test was performed on .
1 | PHP fatal errors |
No JavaScript exceptions | |
All test pages loaded successfully | |
No resource errors |
Memory usage: 1.79 MiB
The average PHP memory usage increased by this amount after activating by the plugin.
Page speed impact:
insignificant.
The plugin didn't make the site noticeably slower.
WordPress version | 6.0.1 |
---|---|
PHP version | 7.4.8 |
MySQL version | 8.0.21 |
PHP memory limit | 256M |
Last updated | |
---|---|
Active installs | 90,000+ |
WordPress.org page | https://wordpress.org/plugins/defender-security/ |
Badges |
Get badge code |
URL | /wp-admin/plugins.php?plugin_status=all&paged=1&s |
---|---|
Requested URL | /wp-admin/plugins.php?action=activate&plugin=defender-security%2Fwp-defender.php&plugin_status=all&paged=1&s&_wpnonce=837e829c23 |
Aspect | after-activation |
HTTP status | 200 |
Load time | 1.052 s |
Memory usage | 6.04 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/tools.php?page=action-scheduler |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.192 s |
Memory usage | 5.55 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=wp-defender |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.287 s |
Memory usage | N/A |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.294 s |
Memory usage | 5.3 MiB |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.334 s | 0.300 s | -0.034 s | 3.72 MiB | 5.5 MiB | + 1.78 MiB |
/wp-admin/edit.php | 0.178 s | 0.202 s | +0.024 s | 3.75 MiB | 5.58 MiB | + 1.82 MiB |
/wp-admin/post-new.php | 0.763 s | 0.948 s | +0.185 s | 5.55 MiB | 7.33 MiB | + 1.78 MiB |
/wp-admin/upload.php | 0.553 s | 0.378 s | -0.175 s | 3.68 MiB | 5.46 MiB | + 1.78 MiB |
/wp-admin/options-writing.php | 0.282 s | 0.174 s | -0.108 s | 3.62 MiB | 5.44 MiB | + 1.82 MiB |
/wp-admin/media-new.php | 0.245 s | 0.341 s | +0.096 s | 3.66 MiB | 5.44 MiB | + 1.78 MiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.180 s | 0.278 s | +0.098 s | 3.69 MiB | 5.47 MiB | + 1.78 MiB |
/wp-admin/post-new.php?post_type=page | 0.861 s | 0.655 s | -0.206 s | 5.54 MiB | 7.32 MiB | + 1.78 MiB |
/wp-admin/options-discussion.php | 0.194 s | 0.220 s | +0.026 s | 3.6 MiB | 5.44 MiB | + 1.84 MiB |
/wp-admin/edit-comments.php | 0.224 s | 0.216 s | -0.008 s | 3.69 MiB | 5.47 MiB | + 1.78 MiB |
/ | 0.291 s | 0.221 s | -0.070 s | 3.6 MiB | 5.3 MiB | + 1.7 MiB |
Average | 0.373 s | 0.358 s | -0.016 s | 4.01 MiB | 5.8 MiB | + 1.79 MiB |
Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.
Language | % | Lines of code | Comment lines | Files | |
---|---|---|---|---|---|
PHP | 66.4% | 50,807 | 15,325 | 230 | |
JavaScript | 28.5% | 21,797 | 658 | 29 | |
SVG | 2.8% | 2,154 | 20 | 29 | |
Markdown | 1.0% | 748 | 0 | 7 | |
C | 0.8% | 589 | 18 | 1 | |
CSS | 0.4% | 275 | 4 | 7 | |
JSON | 0.1% | 63 | 0 | 2 | |
m4 | 0.0% | 32 | 0 | 1 | |
C/C++ Header | 0.0% | 8 | 12 | 1 | |
Total | 76,473 | 16,037 | 307 |
Lines of code | 49,033 |
---|---|
Total complexity | 8,267 |
Median class complexity | 24.0 |
Median method complexity | 2.0 |
Most complex class | PHP_CodeSniffer\Tokenizers\PHP |
Most complex function | get_public_suffix() |
Classes | 202 |
---|---|
Methods | 1,860 |
Functions | 31 |
Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.
wp_options
8ID | Name |
---|---|
scheduled-action | Scheduled Actions |
[25-Jul-2022 07:34:05 UTC] PHP Fatal error: Uncaught TypeError: strtotime() expects parameter 2 to be int, string given in /wp-content/plugins/defender-security/src/class-admin.php:268
Stack trace:
#0 /wp-content/plugins/defender-security/src/class-admin.php(268): strtotime()
#1 /wp-includes/class-wp-hook.php(307): WP_Defender\Admin->show_rating_notice()
#2 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(476): WP_Hook->do_action()
#4 /wp-admin/admin-header.php(303): do_action()
#5 /wp-admin/admin.php(239): require_once('/opt/bitnami/ap...')
#6 {main}
thrown in /wp-content/plugins/defender-security/src/class-admin.php on line 268