SiteLock 4.2.4

Does SiteLock work with WordPress 6.8.3 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 33.41 KiB
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.8.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 1,000+
WordPress.org page https://wordpress.org/plugins/sitelock/
Badges

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=sitelock%2Fsitelock.php&plugin_status=all&paged=1&s&_wpnonce=f567dde679
Aspect after-activation
HTTP status 200
Load time 0.471 s
Memory usage 3.56 MiB
JS errors None
Resource errors None

Tools → SiteLock Security

Page screenshot: Tools → SiteLock Security
URL /wp-admin/tools.php?page=sitelock
Aspect menu-item
HTTP status 200
Load time 0.159 s
Memory usage 3.53 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.217 s
Memory usage 3.47 MiB
JS errors None
Resource errors None

Dashboard ‹ Test site — WordPress

Page screenshot: Dashboard ‹ Test site — WordPress
URL /wp-admin/index.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.466 s
Memory usage 3.55 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.325 s0.331 s+0.006 s3.51 MiB3.55 MiB+ 48.19 KiB
/wp-admin/edit.php0.201 s0.199 s-0.002 s3.57 MiB3.61 MiB+ 39.45 KiB
/wp-admin/post-new.php0.784 s0.664 s-0.120 s6.06 MiB6.1 MiB+ 40.55 KiB
/wp-admin/upload.php0.563 s0.397 s-0.166 s3.52 MiB3.54 MiB+ 21.63 KiB
/wp-admin/options-writing.php0.212 s0.344 s+0.132 s3.5 MiB3.53 MiB+ 24.99 KiB
/wp-admin/media-new.php0.267 s0.300 s+0.033 s3.49 MiB3.52 MiB+ 33.19 KiB
/wp-admin/edit-tags.php?taxonomy=category0.235 s0.200 s-0.035 s3.5 MiB3.55 MiB+ 44.17 KiB
/wp-admin/post-new.php?post_type=page0.626 s0.624 s-0.002 s6.05 MiB6.09 MiB+ 36.07 KiB
/wp-admin/options-discussion.php0.270 s0.303 s+0.033 s3.5 MiB3.52 MiB+ 22.12 KiB
/wp-admin/edit-comments.php0.207 s0.219 s+0.012 s3.52 MiB3.54 MiB+ 20.99 KiB
/0.319 s0.198 s-0.121 s3.43 MiB3.47 MiB+ 36.2 KiB
Average 0.364 s0.344 s-0.021 s3.97 MiB4 MiB+ 33.41 KiB

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
CSS
Language % Lines of code Comment lines Files
PHP83.6%3,8311,61329
CSS9.6%4401773
JavaScript6.8%312883
Total 4,583 1,878 35

PHP Code Analysis | More results »

Lines of code 2,497
Total complexity 780
Median class complexity 8.0
Median method complexity 2.0
Most complex class Sitelock_Admin
Most complex function sitelock_country_code_to_country()
Classes 10
Methods 112
Functions 17

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.

Options wp_options 3

Meta Boxes

{
    "dashboard": {
        "sitelock_security_overview": {
            "title": "SiteLock Security Overview",
            "context": "normal"
        }
    }
}

PHP Error Log 43 lines

[03-Oct-2025 06:26:11 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:11 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:12 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:12 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:13 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:14 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:14 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:15 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:15 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:16 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:16 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:16 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:16 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:16 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:16 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:16 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:16 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:16 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:17 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:17 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:17 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:17 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:17 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:18 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:18 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:18 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:19 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:19 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:20 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:20 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:20 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:20 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:20 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:20 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:20 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:20 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:20 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:21 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:21 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:21 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:21 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:23 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[03-Oct-2025 06:26:23 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
See also: All tests for this plugin, How to Hide SiteLock Security – WP Hardening, Login Security & Malware Scans Admin Menus