Hello @dipakparmar443,
I have the same problem on the websites I use the plugin on. I had a peek at the code and I think I found what could be the issue.
The website displays “Security check” as a message, just like if the execution had ended in a die("Security check");
instruction.
This could come from different places in the code, but the most probable is the ngd_hits_column_orderby
function in the add-post-column.php
file. This is called on the request
hook, which is used even on public pages. In this function, the plugin makes a check for the current user to have manage_options
privileges (which obviously the user does not have if they’re not even logged in), resulting in “Security check” message for unauthorized users.
I tried altering the code on my test website, changing :
if ( !current_user_can('manage_options'))
{
die( __( 'Security check.', 'wp-simple-post-view' ) );
return;
}
To :
if (!current_user_can( 'manage_options'))
{
return $vars;
}
Seems like it did the trick for me.
Other possible sources of this message are the wp-simple-post-view.php
file and the uninstall.php
, the last one being very unlikely in this case.
Hope this helps, have a nice one !