This WordPress plugin limits user access to the dashboard based on whether users have a chosen capability. Disallowed users are redirected to a chosen URL.
I had come to believe that it was good practice to test if ABSPATH was defined in all the PHP files of a plugin, and I see you only test for it in the main top-level file.
I don't know if this is an issue or not, but raising this for at least consideration.
I had come to believe that it was good practice to test if ABSPATH was defined in all the PHP files of a plugin, and I see you only test for it in the main top-level file.
I don't know if this is an issue or not, but raising this for at least consideration.