Code Monkey home page Code Monkey logo

fortify's Issues

Undefined index: antspm-q

[30-Dec-2015 16:03:51 UTC] PHP Notice: Undefined index: antspm-q in /home/userdir/public_html/wp-content/plugins/anti-spam/anti-spam.php on line 106
[30-Dec-2015 16:03:51 UTC] PHP Notice: Undefined index: antspm-d in /home/userdir/public_html/wp-content/plugins/anti-spam/anti-spam.php on line 107
[30-Dec-2015 16:03:51 UTC] PHP Notice: Undefined index: antspm-q in /home/userdir/public_html/wp-content/plugins/anti-spam/anti-spam.php on line 110

https://wordpress.org/support/topic/php-notice-undefined-index-antspm-q

Server error 500 / http return code

Every comment that goes into spam generates a 500 server error. This is cause wp_die() defaults to 500. May I suggest the following change for the next update...
Either replace wp_die() by just die(). This defaults to http return 200 or better do something like wp_die( __( $antispam_pre_error_message . $antispam_error_message, 'anti-spam' ), 403 );. I'm still testing if 403 is better than 200 in terms of spam. Changing from 500 to 200 reduced the amount of spam by 75% (many spam scripts are sending the same comment multiple times if they get a 500).

Ah and if you are already updating... you might change $antispam_pre_error_message into a non-Javascript version. Because you get the message cause your Javascript is disabled.
I use something like:

$url = htmlspecialchars($_SERVER['HTTP_REFERER']);
$antispam_pre_error_message = "<a href='$url'>back</a>";

...and the back link does work.

Form is not 100% accessible for screen readers

Hey,
While checking my website accessibility on WAVE I keep getting "missing form label" error for both text inputs (antspm-q and antspm-e-email-url-website). The label tags actually are there, so I guess adding a for attribute to each will solve the error.
I know the inputs are supposed to be hidden so screen reader should skip them, and I'm not an accessibility expert, but yet, WAVE returns that error over and over, so I'd appreciate if you check it out.

Thanks,
Itamar

AntiSpam v5.5 maintenance

Hi,

I saw that you sold your nice WP plugin "Anti Spam" to CreativeMotion, good for you. Now they called it Titan Anti-spam & Security or something.

But my question is: are you going to keep maintaining the old version v5.5 on here (GitHub)? When I say maintain I mean fixing any possible error with new WP versions or security breaches.

I refuse to use the new updated plugin by CreativeMotion v7.0.2, it is just so overcrowded. So I just want to keep with the old, great and simple Anti Spam v5.5.

Can you please answer my question above? It'd be awesome for the community if you keep the maintenance here.

Thank you in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.