Ready to get started?Download WordPress


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

  1. fancyfiber
    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.

    paste bin again


  2. Mindshare Studios, Inc.
    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


No tags yet.