
Found my first bug in the latest Defensio plugin version 1.1.2. Upon activating the plugin a few things stop working in my WordPress admin section.
1. Can’t load the Defensio quarantine page from the dash board.
2. Can’t load the plugin editor anymore.
3. Can’t load the theme editor anymore.
Once I have the Defension-anti-spam plugin turned off everything is back to normal.
I ain’t no php specialist so I can’t operate on the source files but I’ve submitted a bug report at Defensio’s Community site in hopes for a quick response.
Author comments are in a darker gray color for you to easily identify the posts author in the comments
Hi,
Did you delete the ‘defensio’ directory in plugins and copy the new version to ‘defensio-anti-spam’ instead? (the process is mentioned in the docs).
From your screenshot, it looks like your WP tries to load defensio/defensio.php which, technically, should not exist anymore.
Hi Carl,
yup, i did. the path currently is “/www/wp-content/plugins/defensio-anti-spam/”
could it be with the DB? can i clear out all defensio table?
Carl, below is from the 1.1.2 defensio.php file
function defensio_render_activity_box() {
$link_base = 'edit-comments.php';
$link = clean_url($link_base . '?page=defensio/defensio.php');
$obvious_spam_count = defensio_wp_spam_count(true);
$total_spam_count = defensio_wp_spam_count(false);
echo "
Defensio Spam
";
if ($total_spam_count == 0) {
echo "Your Defensio quarantine is empty. Awesome!";
} elseif ($total_spam_count == 1) {
echo "You have $total_spam_count spam comment";
if ($obvious_spam_count > 0) { echo " ($obvious_spam_count obvious)"; }
echo " in your Defensio quarantine.";
} elseif ($total_spam_count > 1) {
echo "You have $total_spam_count spam comments";
if ($obvious_spam_count > 0) { echo " ($obvious_spam_count obvious)"; }
echo " in your Defensio quarantine.";
}
}
Look for the below snippet within the defensio.php and change the defensio to defensio-anti-spam. This will fix the first issue seen above. The activity box link.
function defensio_render_activity_box() {
$link_base = ‘edit-comments.php’;
$link = clean_url($link_base . ‘?page=defensio-anti-spam/defensio.php’); <–CHANGE THIS ONLY
$obvious_spam_count = defensio_wp_spam_count(true);
$total_spam_count = defensio_wp_spam_count(false);
The change above will fix the activity box miss link.
Bro, I am having the same issue…
I just updated the plugin to fix the first issue you mentioned and a few more minor glitches. You can get the update here:
http://downloads.wordpress.org/plugin/defensio-anti-spam.1.1.3.zip
We’ll have to spend more time on the plugin and theme editor problems you reported, however. Thanks for the help!
Thanks Carl
Spam Karma is the way to go.