Prevent Direct Access 2.5.0

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

Summary

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

Memory usage: 131.82 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.027 seconds
The average page load time increased by this amount after activating the plugin.

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=37a43df137
Aspect after-activation
HTTP status 200 OK
Load time 0.129 s
Memory usage 3.26 MiB
JS errors
[
    {
        "message": "Warning: It looks like you're using a minified copy of the development build of React. When deploying React apps to production, make sure to use the production build which skips development warnings and is faster. See https://fb.me/react-minification for more details.",
        "trace": [
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 1,
                "function": ""
            }
        ]
    },
    {
        "message": "You are currently using minified code outside of NODE_ENV === 'production'. This means that you are running a slower development build of Redux. You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify or DefinePlugin for webpack (http://stackoverflow.com/questions/30030031) to ensure you have the correct code for your production build.",
        "trace": [
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 37,
                "function": "a"
            }
        ]
    },
    {
        "message": "TypeError: undefined is not a constructor (evaluating 'Object.assign({},e,{planName:t.payload.planName})')",
        "trace": [
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 49,
                "function": "default"
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 60,
                "function": ""
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 37,
                "function": "y"
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 60,
                "function": ""
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 49,
                "function": ""
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 1,
                "function": "n"
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 60,
                "function": ""
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 1,
                "function": "n"
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 1,
                "function": ""
            }
        ]
    }
]
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.060 s
Memory usage 3.43 MiB
JS errors
[
    {
        "message": "Warning: It looks like you're using a minified copy of the development build of React. When deploying React apps to production, make sure to use the production build which skips development warnings and is faster. See https://fb.me/react-minification for more details.",
        "trace": [
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 1,
                "function": ""
            }
        ]
    },
    {
        "message": "You are currently using minified code outside of NODE_ENV === 'production'. This means that you are running a slower development build of Redux. You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify or DefinePlugin for webpack (http://stackoverflow.com/questions/30030031) to ensure you have the correct code for your production build.",
        "trace": [
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 37,
                "function": "a"
            }
        ]
    },
    {
        "message": "TypeError: undefined is not a constructor (evaluating 'Object.assign({},e,{planName:t.payload.planName})')",
        "trace": [
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 49,
                "function": "default"
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 60,
                "function": ""
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 37,
                "function": "y"
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 60,
                "function": ""
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 49,
                "function": ""
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 1,
                "function": "n"
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 60,
                "function": ""
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 1,
                "function": "n"
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 1,
                "function": ""
            }
        ]
    }
]
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.051 s
Memory usage 3.13 MiB
JS errors
[
    {
        "message": "Warning: It looks like you're using a minified copy of the development build of React. When deploying React apps to production, make sure to use the production build which skips development warnings and is faster. See https://fb.me/react-minification for more details.",
        "trace": [
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 1,
                "function": ""
            }
        ]
    },
    {
        "message": "You are currently using minified code outside of NODE_ENV === 'production'. This means that you are running a slower development build of Redux. You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify or DefinePlugin for webpack (http://stackoverflow.com/questions/30030031) to ensure you have the correct code for your production build.",
        "trace": [
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 37,
                "function": "a"
            }
        ]
    },
    {
        "message": "TypeError: undefined is not a constructor (evaluating 'Object.assign({},e,{planName:t.payload.planName})')",
        "trace": [
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 49,
                "function": "default"
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 60,
                "function": ""
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 37,
                "function": "y"
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 60,
                "function": ""
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 49,
                "function": ""
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 1,
                "function": "n"
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 60,
                "function": ""
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 1,
                "function": "n"
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 1,
                "function": ""
            }
        ]
    }
]
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.070 s
Memory usage 3.13 MiB
JS errors
[
    {
        "message": "Warning: It looks like you're using a minified copy of the development build of React. When deploying React apps to production, make sure to use the production build which skips development warnings and is faster. See https://fb.me/react-minification for more details.",
        "trace": [
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 1,
                "function": ""
            }
        ]
    },
    {
        "message": "You are currently using minified code outside of NODE_ENV === 'production'. This means that you are running a slower development build of Redux. You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify or DefinePlugin for webpack (http://stackoverflow.com/questions/30030031) to ensure you have the correct code for your production build.",
        "trace": [
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 37,
                "function": "a"
            }
        ]
    },
    {
        "message": "TypeError: undefined is not a constructor (evaluating 'Object.assign({},e,{planName:t.payload.planName})')",
        "trace": [
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 49,
                "function": "default"
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 60,
                "function": ""
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 37,
                "function": "y"
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 60,
                "function": ""
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 49,
                "function": ""
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 1,
                "function": "n"
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 60,
                "function": ""
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 1,
                "function": "n"
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 1,
                "function": ""
            }
        ]
    }
]
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.060 s
Memory usage 3.25 MiB
JS errors
[
    {
        "message": "Warning: It looks like you're using a minified copy of the development build of React. When deploying React apps to production, make sure to use the production build which skips development warnings and is faster. See https://fb.me/react-minification for more details.",
        "trace": [
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 1,
                "function": ""
            }
        ]
    },
    {
        "message": "You are currently using minified code outside of NODE_ENV === 'production'. This means that you are running a slower development build of Redux. You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify or DefinePlugin for webpack (http://stackoverflow.com/questions/30030031) to ensure you have the correct code for your production build.",
        "trace": [
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 37,
                "function": "a"
            }
        ]
    },
    {
        "message": "TypeError: undefined is not a constructor (evaluating 'Object.assign({},e,{planName:t.payload.planName})')",
        "trace": [
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 49,
                "function": "default"
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 60,
                "function": ""
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 37,
                "function": "y"
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 60,
                "function": ""
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 49,
                "function": ""
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 1,
                "function": "n"
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 60,
                "function": ""
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 1,
                "function": "n"
            },
            {
                "file": "/wp-content/plugins/prevent-direct-access/js/dist/pda_gold_v3_bundle.js?ver=2.5.0",
                "line": 1,
                "function": ""
            }
        ]
    }
]
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.159 s
Memory usage 2.87 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.140 s0.061 s-0.079 s3.12 MiB3.22 MiB+ 104.09 KiB
/wp-admin/edit.php0.120 s0.076 s-0.044 s3.14 MiB3.22 MiB+ 77.99 KiB
/wp-admin/post-new.php0.202 s0.085 s-0.117 s3.21 MiB3.3 MiB+ 95.23 KiB
/wp-admin/upload.php0.094 s0.064 s-0.030 s2.99 MiB3.14 MiB+ 160.59 KiB
/wp-admin/options-writing.php0.084 s0.179 s+0.095 s2.98 MiB3.13 MiB+ 160.59 KiB
/wp-admin/media-new.php0.053 s0.187 s+0.134 s2.97 MiB3.13 MiB+ 162.04 KiB
/wp-admin/edit-tags.php?taxonomy=category0.080 s0.051 s-0.029 s3.01 MiB3.17 MiB+ 161.84 KiB
/wp-admin/post-new.php?post_type=page0.144 s0.276 s+0.132 s3.22 MiB3.31 MiB+ 95.15 KiB
/wp-admin/options-discussion.php0.092 s0.083 s-0.009 s2.97 MiB3.13 MiB+ 160.91 KiB
/wp-admin/edit-comments.php0.080 s0.258 s+0.178 s3.01 MiB3.17 MiB+ 161.28 KiB
/0.099 s0.165 s+0.066 s2.76 MiB2.87 MiB+ 110.34 KiB
Average 0.108 s0.135 s+0.027 s3.03 MiB3.16 MiB+ 131.82 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 33 lines

[16-Nov-2018 09:56:49 UTC] create new table
[16-Nov-2018 09:56:49 UTC] .htaccess is writeable: 1
[16-Nov-2018 09:56:49 UTC] .htaccess is writeable: 1
[16-Nov-2018 09:56:49 UTC] 1
[16-Nov-2018 09:56:49 UTC] .htaccess is writeable: 1
[16-Nov-2018 09:56:50 UTC] .htaccess is writeable: 1
[16-Nov-2018 09:56:50 UTC] .htaccess is writeable: 1
[16-Nov-2018 09:56:51 UTC] .htaccess is writeable: 1
[16-Nov-2018 09:56:52 UTC] .htaccess is writeable: 1
[16-Nov-2018 09:56:52 UTC] .htaccess is writeable: 1
[16-Nov-2018 09:56:55 UTC] .htaccess is writeable: 1
[16-Nov-2018 09:56:55 UTC] .htaccess is writeable: 1
[16-Nov-2018 09:56:56 UTC] .htaccess is writeable: 1
[16-Nov-2018 09:56:56 UTC] .htaccess is writeable: 1
[16-Nov-2018 09:56:57 UTC] .htaccess is writeable: 1
[16-Nov-2018 09:56:57 UTC] .htaccess is writeable: 1
[16-Nov-2018 09:56:57 UTC] .htaccess is writeable: 1
[16-Nov-2018 09:56:57 UTC] 1
[16-Nov-2018 09:56:57 UTC] .htaccess is writeable: 1
[16-Nov-2018 09:56:57 UTC] .htaccess is writeable: 1
[16-Nov-2018 09:56:57 UTC] .htaccess is writeable: 1
[16-Nov-2018 09:56:57 UTC] .htaccess is writeable: 1
[16-Nov-2018 09:56:58 UTC] .htaccess is writeable: 1
[16-Nov-2018 09:56:58 UTC] .htaccess is writeable: 1
[16-Nov-2018 09:56:59 UTC] .htaccess is writeable: 1
[16-Nov-2018 09:56:59 UTC] .htaccess is writeable: 1
[16-Nov-2018 09:57:00 UTC] .htaccess is writeable: 1
[16-Nov-2018 09:57:00 UTC] .htaccess is writeable: 1
[16-Nov-2018 09:57:00 UTC] .htaccess is writeable: 1
[16-Nov-2018 09:57:00 UTC] 1
[16-Nov-2018 09:57:00 UTC] .htaccess is writeable: 1
[16-Nov-2018 09:57:01 UTC] .htaccess is writeable: 1
[16-Nov-2018 09:57:01 UTC] 
See also: All tests for this plugin, How to Hide Prevent Direct Access Admin Menus