You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear Lester,
I'm using your plugin since, I think, 2006. And from time to time I see that Google bot try to access it directly, causing an error 500 (add_action() not defined).
Do you remember if any time ago it was used to be called directly?
What do you think about adding a little code to avoid direct call?
Something like this below or a redirect to the home?
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
Thanks for your work,
Paolo
The text was updated successfully, but these errors were encountered:
Dear Lester,
I'm using your plugin since, I think, 2006. And from time to time I see that Google bot try to access it directly, causing an error 500 (add_action() not defined).
Do you remember if any time ago it was used to be called directly?
What do you think about adding a little code to avoid direct call?
Something like this below or a redirect to the home?
Thanks for your work,
Paolo
The text was updated successfully, but these errors were encountered: