Defender 3.1.2

Does Defender work with WordPress 6.0.1 and PHP 7.4.8? A smoke test was performed on .


1PHP 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 version6.0.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 90,000+ page

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=837e829c23
Aspect after-activation
HTTP status 200
Load time 1.052 s
Memory usage 6.04 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.192 s
Memory usage 5.55 MiB
JS errors None
Resource errors None


Page screenshot: Defender
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

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
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.php0.334 s0.300 s-0.034 s3.72 MiB5.5 MiB+ 1.78 MiB
/wp-admin/edit.php0.178 s0.202 s+0.024 s3.75 MiB5.58 MiB+ 1.82 MiB
/wp-admin/post-new.php0.763 s0.948 s+0.185 s5.55 MiB7.33 MiB+ 1.78 MiB
/wp-admin/upload.php0.553 s0.378 s-0.175 s3.68 MiB5.46 MiB+ 1.78 MiB
/wp-admin/options-writing.php0.282 s0.174 s-0.108 s3.62 MiB5.44 MiB+ 1.82 MiB
/wp-admin/media-new.php0.245 s0.341 s+0.096 s3.66 MiB5.44 MiB+ 1.78 MiB
/wp-admin/edit-tags.php?taxonomy=category0.180 s0.278 s+0.098 s3.69 MiB5.47 MiB+ 1.78 MiB
/wp-admin/post-new.php?post_type=page0.861 s0.655 s-0.206 s5.54 MiB7.32 MiB+ 1.78 MiB
/wp-admin/options-discussion.php0.194 s0.220 s+0.026 s3.6 MiB5.44 MiB+ 1.84 MiB
/wp-admin/edit-comments.php0.224 s0.216 s-0.008 s3.69 MiB5.47 MiB+ 1.78 MiB
/0.291 s0.221 s-0.070 s3.6 MiB5.3 MiB+ 1.7 MiB
Average 0.373 s0.358 s-0.016 s4.01 MiB5.8 MiB+ 1.79 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.

Language % Lines of code Comment lines Files
C/C++ Header0.0%8121
Total 76,473 16,037 307

PHP Code Analysis | More results »

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.

Database Tables 10

Options wp_options 8

Custom Post Types 1

ID Name
scheduled-actionScheduled Actions

PHP Error Log 10 lines

[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
See also: All tests for this plugin, How to Hide Defender Admin Menus