Defender 5.7.1

Does Defender work with WordPress 6.9 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
4PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 1.09 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.

Environment
WordPress version6.9
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 90,000+
WordPress.org page https://wordpress.org/plugins/defender-security/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 14

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
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=d2b81cbc27
Aspect after-activation
HTTP status 200
Load time 0.841 s
Memory usage 6.22 MiB
JS errors None
Resource errors None

Tools → Scheduled Actions

Page screenshot: Tools → Scheduled Actions
URL /wp-admin/tools.php?page=action-scheduler
Aspect menu-item
HTTP status 200
Load time 0.425 s
Memory usage 4.83 MiB
JS errors None
Resource errors None

Defender

Page screenshot: Defender
URL /wp-admin/admin.php?page=wp-defender
Aspect menu-item
HTTP status 200
Load time 0.877 s
Memory usage 5.51 MiB
JS errors None
Resource errors None

Defender → Recommendations

Page screenshot: Defender → Recommendations
URL /wp-admin/admin.php?page=wp-defender
Requested URL /wp-admin/admin.php?page=wdf-hardener
Aspect menu-item
HTTP status 200
Load time 0.561 s
Memory usage 5.53 MiB
JS errors None
Resource errors None

Defender → Malware Scanning

Page screenshot: Defender → Malware Scanning
URL /wp-admin/admin.php?page=wp-defender
Requested URL /wp-admin/admin.php?page=wdf-scan
Aspect menu-item
HTTP status 200
Load time 0.470 s
Memory usage 5.53 MiB
JS errors None
Resource errors None

Defender → Audit Logging

Page screenshot: Defender → Audit Logging
URL /wp-admin/admin.php?page=wp-defender
Requested URL /wp-admin/admin.php?page=wdf-logging
Aspect menu-item
HTTP status 200
Load time 0.384 s
Memory usage 5.53 MiB
JS errors None
Resource errors None

Defender → Firewall

Page screenshot: Defender → Firewall
URL /wp-admin/admin.php?page=wp-defender
Requested URL /wp-admin/admin.php?page=wdf-ip-lockout
Aspect menu-item
HTTP status 200
Load time 0.418 s
Memory usage 5.53 MiB
JS errors None
Resource errors None

Defender → WAF

Page screenshot: Defender → WAF
URL /wp-admin/admin.php?page=wp-defender
Requested URL /wp-admin/admin.php?page=wdf-waf
Aspect menu-item
HTTP status 200
Load time 0.376 s
Memory usage 5.53 MiB
JS errors None
Resource errors None

Defender → 2FA

Page screenshot: Defender → 2FA
URL /wp-admin/admin.php?page=wp-defender
Requested URL /wp-admin/admin.php?page=wdf-2fa
Aspect menu-item
HTTP status 200
Load time 0.384 s
Memory usage 5.53 MiB
JS errors None
Resource errors None

Defender → Tools

Page screenshot: Defender → Tools
URL /wp-admin/admin.php?page=wp-defender
Requested URL /wp-admin/admin.php?page=wdf-advanced-tools
Aspect menu-item
HTTP status 200
Load time 0.483 s
Memory usage 5.53 MiB
JS errors None
Resource errors None

Defender → Notifications

Page screenshot: Defender → Notifications
URL /wp-admin/admin.php?page=wp-defender
Requested URL /wp-admin/admin.php?page=wdf-notification
Aspect menu-item
HTTP status 200
Load time 0.416 s
Memory usage 5.53 MiB
JS errors None
Resource errors None

Defender → Settings

Page screenshot: Defender → Settings
URL /wp-admin/admin.php?page=wp-defender
Requested URL /wp-admin/admin.php?page=wdf-setting
Aspect menu-item
HTTP status 200
Load time 0.408 s
Memory usage 5.53 MiB
JS errors None
Resource errors None

Defender → More free Plugins?

Page screenshot: Defender → More free Plugins?
URL /wp-admin/admin.php?page=defender_cross_sell
Aspect menu-item
HTTP status 200
Load time 0.332 s
Memory usage 4.78 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.353 s
Memory usage 5.1 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.424 s0.495 s+0.071 s3.78 MiB4.88 MiB+ 1.11 MiB
/wp-admin/edit.php0.353 s0.322 s-0.031 s3.78 MiB4.92 MiB+ 1.14 MiB
/wp-admin/post-new.php0.870 s1.016 s+0.146 s6.31 MiB7.51 MiB+ 1.2 MiB
/wp-admin/upload.php0.680 s0.474 s-0.206 s3.74 MiB4.83 MiB+ 1.09 MiB
/wp-admin/options-writing.php0.321 s0.333 s+0.012 s3.71 MiB4.77 MiB+ 1.06 MiB
/wp-admin/media-new.php0.493 s0.358 s-0.135 s3.7 MiB4.76 MiB+ 1.06 MiB
/wp-admin/edit-tags.php?taxonomy=category0.469 s0.283 s-0.186 s3.72 MiB4.79 MiB+ 1.07 MiB
/wp-admin/post-new.php?post_type=page0.669 s0.662 s-0.007 s6.3 MiB7.49 MiB+ 1.2 MiB
/wp-admin/options-discussion.php0.315 s0.407 s+0.092 s3.71 MiB4.74 MiB+ 1.02 MiB
/wp-admin/edit-comments.php0.312 s0.333 s+0.021 s3.73 MiB4.8 MiB+ 1.06 MiB
/0.287 s0.186 s-0.101 s4.12 MiB5.11 MiB+ 1012.14 KiB
Average 0.472 s0.443 s-0.029 s4.24 MiB5.33 MiB+ 1.09 MiB

Code Statistics

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.

PHP
JavaScript
Language % Lines of code Comment lines Files
PHP72.3%72,33332,749446
JavaScript24.8%24,82085035
Markdown1.0%1,03109
SVG0.7%700417
C0.7%668251
JSON0.1%13704
PO File0.1%1351211
CSS0.1%75110
XML0.1%6201
m40.0%3201
C/C++ Header0.0%8121
Total 100,001 33,762 526

PHP Code Analysis | More results »

Lines of code 67,886
Total complexity 12,308
Median class complexity 16.0
Median method complexity 2.0
Most complex class PHP_CodeSniffer\Tokenizers\PHP
Most complex function get_public_suffix()
Classes 349
Methods 3,018
Functions 56

Additions

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.

Database Tables 9

Options wp_options 8

Custom Post Types 1

ID Name
scheduled-actionScheduled Actions

PHP Error Log 4 lines

[03-Dec-2025 00:56:23 UTC] PHP Deprecated:  Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
[03-Dec-2025 00:56:23 UTC] PHP Deprecated:  Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
[03-Dec-2025 00:56:33 UTC] PHP Deprecated:  Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
[03-Dec-2025 00:56:33 UTC] PHP Deprecated:  Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
See also: All tests for this plugin, How to Hide Defender Admin Menus