SiteLock 4.2.3

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

Summary

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

Memory usage: 51.27 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.6.2
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=9291aabbe1
Aspect after-activation
HTTP status 200
Load time 0.297 s
Memory usage 3.52 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.173 s
Memory usage 3.5 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.207 s
Memory usage 3.44 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.336 s
Memory usage 3.52 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.362 s0.324 s-0.038 s3.47 MiB3.52 MiB+ 48.82 KiB
/wp-admin/edit.php0.211 s0.212 s+0.001 s3.54 MiB3.58 MiB+ 40.45 KiB
/wp-admin/post-new.php0.797 s0.610 s-0.187 s5.75 MiB5.82 MiB+ 68.08 KiB
/wp-admin/upload.php0.699 s0.372 s-0.327 s3.49 MiB3.51 MiB+ 22.3 KiB
/wp-admin/options-writing.php0.201 s0.351 s+0.150 s3.41 MiB3.49 MiB+ 84.8 KiB
/wp-admin/media-new.php0.284 s0.318 s+0.034 s3.4 MiB3.49 MiB+ 98.18 KiB
/wp-admin/edit-tags.php?taxonomy=category0.207 s0.212 s+0.005 s3.47 MiB3.51 MiB+ 45.16 KiB
/wp-admin/post-new.php?post_type=page0.610 s0.601 s-0.009 s5.75 MiB5.81 MiB+ 63.66 KiB
/wp-admin/options-discussion.php0.220 s0.256 s+0.036 s3.41 MiB3.49 MiB+ 86.48 KiB
/wp-admin/edit-comments.php0.228 s0.231 s+0.003 s3.49 MiB3.51 MiB+ 21.98 KiB
/0.320 s0.214 s-0.106 s3.45 MiB3.44 MiB- 15.96 KiB
Average 0.376 s0.336 s-0.040 s3.88 MiB3.93 MiB+ 51.27 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 49 lines

[13-Sep-2024 02:22:13 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:13 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:14 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:14 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:15 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:16 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:16 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:17 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:17 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:18 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:18 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:18 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:18 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:18 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:18 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:18 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:18 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:18 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:18 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:18 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:18 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:19 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:19 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:19 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:20 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:20 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:20 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:21 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:21 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:22 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:22 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:22 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:22 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:22 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:22 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:22 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:22 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:22 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:22 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:22 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:23 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:23 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:23 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:24 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:24 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:24 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:25 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:26 UTC] PHP Warning:  Undefined array key "SITELOCK_IP_HEADER" in /wp-content/plugins/sitelock/sitelock.php on line 38
[13-Sep-2024 02:22:26 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