WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WP-o-Matic] die('Switch to Firefox / Safari') - my god (3 posts)

  1. pgl
    Member
    Posted 5 years ago #

    You're kidding, right? You just die('Switch to Firefox / Safari') if someone's using the wrong browser? Jesus, how long have you been doing this exactly - don't ever completely disallow access to content based on the User-Agent string, it's just silly.

    There are other browsers out there too - I'm an Opera user myself, which thankfully has a feature that makes it very easy to identify itself as Firefox (or IE, etc.). But, man, it's a bit annoying and shortsighted to have something like that in your code.

    http://wordpress.org/extend/plugins/wp-o-matic/

  2. Appletalk
    Member
    Posted 5 years ago #

    It's only temporary. Lame, but will be gone.

  3. pgl
    Member
    Posted 5 years ago #

    Fair enough then.

Topic Closed

This topic has been closed to new replies.

About this Topic