Prevent Direct Access 2.4.0

Does Prevent Direct Access work with WordPress 4.9.8 and PHP 7.0.16? A smoke test was performed on .

Summary

Errors
101Unrecognized messages in the PHP error log
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 117.02 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 version4.9.8
PHP version7.0.16
MySQL version5.7.17
PHP memory limit256M
Plugin Info
Last updated
Active installs 10,000+
WordPress.org page https://wordpress.org/plugins/prevent-direct-access/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s=
Requested URL /wp-admin/plugins.php?action=activate&plugin=prevent-direct-access%2Fprevent-direct-access.php&plugin_status=all&paged=1&s&_wpnonce=4f24313d02
Aspect after-activation
HTTP status 200 OK
Load time 0.138 s
Memory usage 3.25 MiB
JS errors None
Resource errors None

Prevent Direct Access

Page screenshot: Prevent Direct Access
URL /wp-admin/admin.php?page=wp_pda_options
Aspect menu-item
HTTP status 200 OK
Load time 0.051 s
Memory usage 3.4 MiB
JS errors None
Resource errors None

Prevent Direct Access → IP Block

Page screenshot: Prevent Direct Access → IP Block
URL /wp-admin/admin.php?page=wp_pda_options&tab=iplock
Aspect menu-item-tab
HTTP status 200 OK
Load time 0.046 s
Memory usage 3.11 MiB
JS errors None
Resource errors None

Prevent Direct Access → FAQ/Troubleshooting

Page screenshot: Prevent Direct Access → FAQ/Troubleshooting
URL /wp-admin/admin.php?page=wp_pda_options&tab=faq
Aspect menu-item-tab
HTTP status 200 OK
Load time 0.093 s
Memory usage 3.11 MiB
JS errors None
Resource errors None

Prevent Direct Access → Go Pro

Page screenshot: Prevent Direct Access → Go Pro
URL /wp-admin/admin.php?page=wp_pda_gopro
Aspect menu-item
HTTP status 200 OK
Load time 0.055 s
Memory usage 3.16 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 OK
Load time 0.152 s
Memory usage 2.84 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.168 s0.073 s-0.095 s3.12 MiB3.21 MiB+ 92.12 KiB
/wp-admin/edit.php0.135 s0.126 s-0.009 s3.14 MiB3.2 MiB+ 68.92 KiB
/wp-admin/post-new.php0.227 s0.217 s-0.010 s3.2 MiB3.29 MiB+ 85.11 KiB
/wp-admin/upload.php0.110 s0.161 s+0.051 s2.98 MiB3.12 MiB+ 151.89 KiB
/wp-admin/options-writing.php0.096 s0.065 s-0.031 s2.97 MiB3.11 MiB+ 150.79 KiB
/wp-admin/media-new.php0.055 s0.096 s+0.041 s2.96 MiB3.08 MiB+ 124.79 KiB
/wp-admin/edit-tags.php?taxonomy=category0.099 s0.115 s+0.016 s3 MiB3.15 MiB+ 150.79 KiB
/wp-admin/post-new.php?post_type=page0.209 s0.248 s+0.039 s3.21 MiB3.29 MiB+ 85.03 KiB
/wp-admin/options-discussion.php0.103 s0.067 s-0.036 s2.96 MiB3.08 MiB+ 120.59 KiB
/wp-admin/edit-comments.php0.103 s0.121 s+0.018 s3 MiB3.15 MiB+ 151.48 KiB
/0.088 s0.130 s+0.042 s2.74 MiB2.85 MiB+ 105.76 KiB
Average 0.127 s0.129 s+0.002 s3.02 MiB3.14 MiB+ 117.02 KiB

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 1

Options wp_options 4

PHP Error Log 102 lines

[04-Aug-2018 14:40:50 UTC] Installed ver: 1.0
[04-Aug-2018 14:40:50 UTC] Jal db ver: 1.0
[04-Aug-2018 14:40:50 UTC]  Different 
[04-Aug-2018 14:40:50 UTC] Installed ver: 1.1
[04-Aug-2018 14:40:50 UTC] Jal db ver: 1.0
[04-Aug-2018 14:40:50 UTC] .htaccess is writeable: 1
[04-Aug-2018 14:40:50 UTC] .htaccess is writeable: 1
[04-Aug-2018 14:40:50 UTC] 1
[04-Aug-2018 14:40:50 UTC] .htaccess is writeable: 1
[04-Aug-2018 14:40:50 UTC] Installed ver: 1.2
[04-Aug-2018 14:40:50 UTC] Jal db ver: 1.0
[04-Aug-2018 14:40:50 UTC] .htaccess is writeable: 1
[04-Aug-2018 14:40:50 UTC] Installed ver: 1.3
[04-Aug-2018 14:40:50 UTC] Jal db ver: 1.0
[04-Aug-2018 14:40:50 UTC]  Same 
[04-Aug-2018 14:40:50 UTC] .htaccess is writeable: 1
[04-Aug-2018 14:40:51 UTC] Installed ver: 1.3
[04-Aug-2018 14:40:51 UTC] Jal db ver: 1.0
[04-Aug-2018 14:40:51 UTC]  Same 
[04-Aug-2018 14:40:51 UTC] .htaccess is writeable: 1
[04-Aug-2018 14:40:51 UTC] Installed ver: 1.3
[04-Aug-2018 14:40:51 UTC] Jal db ver: 1.0
[04-Aug-2018 14:40:51 UTC]  Same 
[04-Aug-2018 14:40:51 UTC] .htaccess is writeable: 1
[04-Aug-2018 14:40:52 UTC] Installed ver: 1.3
[04-Aug-2018 14:40:52 UTC] Jal db ver: 1.0
[04-Aug-2018 14:40:52 UTC]  Same 
[04-Aug-2018 14:40:52 UTC] .htaccess is writeable: 1
[04-Aug-2018 14:40:54 UTC] Installed ver: 1.3
[04-Aug-2018 14:40:54 UTC] Jal db ver: 1.0
[04-Aug-2018 14:40:54 UTC]  Same 
[04-Aug-2018 14:40:55 UTC] Installed ver: 1.3
[04-Aug-2018 14:40:55 UTC] Jal db ver: 1.0
[04-Aug-2018 14:40:55 UTC]  Same 
[04-Aug-2018 14:40:55 UTC] .htaccess is writeable: 1
[04-Aug-2018 14:40:55 UTC] Installed ver: 1.3
[04-Aug-2018 14:40:55 UTC] Jal db ver: 1.0
[04-Aug-2018 14:40:55 UTC]  Same 
[04-Aug-2018 14:40:55 UTC] .htaccess is writeable: 1
[04-Aug-2018 14:40:55 UTC] Installed ver: 1.3
[04-Aug-2018 14:40:55 UTC] Jal db ver: 1.0
[04-Aug-2018 14:40:55 UTC]  Same 
[04-Aug-2018 14:40:55 UTC] .htaccess is writeable: 1
[04-Aug-2018 14:40:55 UTC] Installed ver: 1.3
[04-Aug-2018 14:40:55 UTC] Jal db ver: 1.0
[04-Aug-2018 14:40:55 UTC]  Same 
[04-Aug-2018 14:40:55 UTC] .htaccess is writeable: 1
[04-Aug-2018 14:40:56 UTC] Installed ver: 1.3
[04-Aug-2018 14:40:56 UTC] Jal db ver: 1.0
[04-Aug-2018 14:40:56 UTC]  Same 
[04-Aug-2018 14:40:56 UTC] .htaccess is writeable: 1
[04-Aug-2018 14:40:56 UTC] .htaccess is writeable: 1
[04-Aug-2018 14:40:56 UTC] .htaccess is writeable: 1
[04-Aug-2018 14:40:56 UTC] 1
[04-Aug-2018 14:40:56 UTC] .htaccess is writeable: 1
[04-Aug-2018 14:40:56 UTC] Installed ver: 1.3
[04-Aug-2018 14:40:56 UTC] Jal db ver: 1.0
[04-Aug-2018 14:40:56 UTC]  Same 
[04-Aug-2018 14:40:56 UTC] .htaccess is writeable: 1
[04-Aug-2018 14:40:56 UTC] Installed ver: 1.3
[04-Aug-2018 14:40:56 UTC] Jal db ver: 1.0
[04-Aug-2018 14:40:56 UTC]  Same 
[04-Aug-2018 14:40:56 UTC] .htaccess is writeable: 1
[04-Aug-2018 14:40:56 UTC] Installed ver: 1.3
[04-Aug-2018 14:40:56 UTC] Jal db ver: 1.0
[04-Aug-2018 14:40:56 UTC]  Same 
[04-Aug-2018 14:40:56 UTC] .htaccess is writeable: 1
[04-Aug-2018 14:40:57 UTC] Installed ver: 1.3
[04-Aug-2018 14:40:57 UTC] Jal db ver: 1.0
[04-Aug-2018 14:40:57 UTC]  Same 
[04-Aug-2018 14:40:57 UTC] .htaccess is writeable: 1
[04-Aug-2018 14:40:57 UTC] Installed ver: 1.3
[04-Aug-2018 14:40:57 UTC] Jal db ver: 1.0
[04-Aug-2018 14:40:57 UTC]  Same 
[04-Aug-2018 14:40:57 UTC] .htaccess is writeable: 1
[04-Aug-2018 14:40:57 UTC] Installed ver: 1.3
[04-Aug-2018 14:40:57 UTC] Jal db ver: 1.0
[04-Aug-2018 14:40:57 UTC]  Same 
[04-Aug-2018 14:40:57 UTC] .htaccess is writeable: 1
[04-Aug-2018 14:40:58 UTC] Installed ver: 1.3
[04-Aug-2018 14:40:58 UTC] Jal db ver: 1.0
[04-Aug-2018 14:40:58 UTC]  Same 
[04-Aug-2018 14:40:58 UTC] .htaccess is writeable: 1
[04-Aug-2018 14:40:58 UTC] Installed ver: 1.3
[04-Aug-2018 14:40:58 UTC] Jal db ver: 1.0
[04-Aug-2018 14:40:58 UTC]  Same 
[04-Aug-2018 14:40:58 UTC] Installed ver: 1.3
[04-Aug-2018 14:40:58 UTC] Jal db ver: 1.0
[04-Aug-2018 14:40:58 UTC]  Same 
[04-Aug-2018 14:40:58 UTC] .htaccess is writeable: 1
[04-Aug-2018 14:40:58 UTC] Installed ver: 1.3
[04-Aug-2018 14:40:58 UTC] Jal db ver: 1.0
[04-Aug-2018 14:40:58 UTC]  Same 
[04-Aug-2018 14:40:58 UTC] .htaccess is writeable: 1
[04-Aug-2018 14:40:58 UTC] .htaccess is writeable: 1
[04-Aug-2018 14:40:58 UTC] 1
[04-Aug-2018 14:40:58 UTC] .htaccess is writeable: 1
[04-Aug-2018 14:40:59 UTC] Installed ver: 1.3
[04-Aug-2018 14:40:59 UTC] Jal db ver: 1.0
[04-Aug-2018 14:40:59 UTC]  Same 

(+2 more lines)
See also: All tests for this plugin, How to Hide Prevent Direct Access Admin Menus