WordPress.org

Ready to get started?Download WordPress

Forums

PHP Browser Detection
[resolved] Suggested change to code (2 posts)

  1. fancyfiber
    Member
    Posted 1 year ago #

    Hey there! Thanks for the recent update to the code.

    I do have a suggestion for another code change though as I ran into some issues a while back and fixed the code myself.

    I don't recall which browsers had the issue exactly, but some browsers report back as 'True' and some report back as '1' for the functions in the attached paste bin, so I put in an OR check for true or 1. Understanding that it shouldn't be needed, but it wasn't working in one or more of the browsers I was working with.

    Thanks!
    paste bin again

    http://wordpress.org/extend/plugins/php-browser-detection/

  2. Mindshare Studios, Inc.
    Member
    Plugin Author

    Posted 1 year ago #

    That's a good catch. I'll look into making an update for the next version.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.