What is the Short code? Why not post them in installation guide?
Thank you.
This is a bug report. This plugin doesn’t recognize Chrome on iOS. It thinks it is Safari.
Recognition is done in System_Requirements_Check_System::getBrowser(). It has a list of browser names in $this->bro_array that includes ‘chrome’ and ‘safari’. Then it checks the user agent string for each name.
Chrome strings are described at https://developer.chrome.com/multidevice/user-agent.
A valid Android string might be: Mozilla/5.0 (Linux; <Android Version>; <Build Tag etc.>) AppleWebKit/<WebKit Rev> (KHTML, like Gecko) Chrome/<Chrome Rev> Mobile Safari/<WebKit Rev>
That string works because it contains Chrome/<Chrome Rev> which is retrieved by the first and second regular expressions in the getBrowser() function.
However, as you can see on the Chrome documentation page, “The UA in Chrome for iOS is the same as the Mobile Safari user agent, with CriOS/<ChromeRevision> instead of Version/<VersionNum>.” So the word ‘chrome’ is not found.
Here is an example of a valid Chrome UA on iOS: Mozilla/5.0 (iPhone; CPU iPhone OS 10_3 like Mac OS X) AppleWebKit/602.1.50 (KHTML, like Gecko) CriOS/56.0.2924.75 Mobile/14E5239e Safari/602.1
To fix that, you should change the name ‘chrome’ in the $this->bro_array array so that it matches ‘chrome|crios’ instead. Then after a match occurs in the first regular expression in getBrowser(), change the name ‘crios’ back to ‘chrome’:
$browser[] = $matchBrower[0] == ‘crios’ ? ‘chrome’ : $matchBrower[0];
]]>Hi Ethan,
Not sure if you are still interested in working on this plugin but if you are I would like to ask if you might consider adding support for Windows 10 OS and the Edge browser.
This is an excellent plugin and there is nothing else like it for WordPress. I would have no problem Donating or paying directly for an updated version.
Keep up the good work
Harry
]]>Hi Sir,
This is the Plug-In from many days I was looking for.
But, My requirements are:
1. If OS is Linux (any version) then my website will automatically get redirected to my other defined webpage (It’s something like redirection of webpage – on the basis of conditional system requirements.)
Please Help if you can..
If I will get what I need – I wont think twice to pay for such useful Plug-In.
Do Customized advancement of Plug-IN.
Will Wait for the update.
Regards,
Jignesh Rajguru.
[email protected]