Restricted Site Access 7.4.0

Does Restricted Site Access work with WordPress 6.4.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 34.35 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.4.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 20,000+
WordPress.org page https://wordpress.org/plugins/restricted-site-access/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

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=restricted-site-access%2Frestricted_site_access.php&plugin_status=all&paged=1&s&_wpnonce=ab5d735cae
Aspect after-activation
HTTP status 200
Load time 0.299 s
Memory usage 3.37 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.201 s
Memory usage 3.33 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.357 s0.362 s+0.005 s3.38 MiB3.43 MiB+ 48.43 KiB
/wp-admin/edit.php0.205 s0.233 s+0.028 s3.41 MiB3.45 MiB+ 49.15 KiB
/wp-admin/post-new.php0.869 s0.642 s-0.227 s5.46 MiB5.51 MiB+ 51.63 KiB
/wp-admin/upload.php0.740 s0.489 s-0.251 s3.32 MiB3.35 MiB+ 31.02 KiB
/wp-admin/options-writing.php0.238 s0.253 s+0.015 s3.32 MiB3.34 MiB+ 22.72 KiB
/wp-admin/media-new.php0.344 s0.304 s-0.040 s3.29 MiB3.34 MiB+ 43.21 KiB
/wp-admin/edit-tags.php?taxonomy=category0.232 s0.238 s+0.006 s3.31 MiB3.36 MiB+ 48.38 KiB
/wp-admin/post-new.php?post_type=page0.868 s0.599 s-0.269 s5.45 MiB5.5 MiB+ 47.22 KiB
/wp-admin/options-discussion.php0.352 s0.511 s+0.159 s3.3 MiB3.33 MiB+ 31.45 KiB
/wp-admin/edit-comments.php0.287 s0.247 s-0.040 s3.34 MiB3.37 MiB+ 31.02 KiB
/0.313 s0.222 s-0.091 s3.36 MiB3.33 MiB- 26.36 KiB
Average 0.437 s0.373 s-0.064 s3.72 MiB3.76 MiB+ 34.35 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
JavaScript
Language % Lines of code Comment lines Files
PHP85.0%1,6278834
JavaScript14.5%278202
CSS0.5%1001
Total 1,915 903 7

PHP Code Analysis | More results »

Lines of code 1,625
Total complexity 360
Median class complexity 177.5
Median method complexity 4.0
Most complex class Restricted_Site_Access
Most complex function Restricted_Site_Access::restrict_access_check()
Classes 2
Methods 71
Functions 1

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.

No new entries found.

PHP Error Log 21 lines

[09-Nov-2023 13:46:28 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/restricted-site-access/restricted_site_access.php on line 319
[09-Nov-2023 13:46:29 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/restricted-site-access/restricted_site_access.php on line 319
[09-Nov-2023 13:46:31 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/restricted-site-access/restricted_site_access.php on line 319
[09-Nov-2023 13:46:31 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/restricted-site-access/restricted_site_access.php on line 319
[09-Nov-2023 13:46:31 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/restricted-site-access/restricted_site_access.php on line 319
[09-Nov-2023 13:46:31 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/restricted-site-access/restricted_site_access.php on line 319
[09-Nov-2023 13:46:31 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/restricted-site-access/restricted_site_access.php on line 319
[09-Nov-2023 13:46:31 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/restricted-site-access/restricted_site_access.php on line 319
[09-Nov-2023 13:46:31 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/restricted-site-access/restricted_site_access.php on line 319
[09-Nov-2023 13:46:31 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/restricted-site-access/restricted_site_access.php on line 319
[09-Nov-2023 13:46:31 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/restricted-site-access/restricted_site_access.php on line 319
[09-Nov-2023 13:46:35 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/restricted-site-access/restricted_site_access.php on line 319
[09-Nov-2023 13:46:36 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/restricted-site-access/restricted_site_access.php on line 319
[09-Nov-2023 13:46:36 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/restricted-site-access/restricted_site_access.php on line 319
[09-Nov-2023 13:46:36 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/restricted-site-access/restricted_site_access.php on line 319
[09-Nov-2023 13:46:36 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/restricted-site-access/restricted_site_access.php on line 319
[09-Nov-2023 13:46:36 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/restricted-site-access/restricted_site_access.php on line 319
[09-Nov-2023 13:46:36 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/restricted-site-access/restricted_site_access.php on line 319
[09-Nov-2023 13:46:36 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/restricted-site-access/restricted_site_access.php on line 319
[09-Nov-2023 13:46:36 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/restricted-site-access/restricted_site_access.php on line 319
[09-Nov-2023 13:46:38 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/restricted-site-access/restricted_site_access.php on line 319
See also: All tests for this plugin