Opera desktop mistakenly identified as mobile in 2.0.1
Reported by Imran | October 4th, 2011 @ 03:56 PM | in 2.0.2 (closed)
in framework/core/subsystems/expTheme.php is_mobile function, replace user agent list with following:
$mobile_agents = array(
'w3c ','acs-','alav','alca','amoi','audi','avan','benq','bird','blac',
'blaz','brew','cell','cldc','cmd-','dang','doco','eric','hipt','inno',
'ipaq','java','jigs','kddi','keji','leno','lg-c','lg-d','lg-g','lge-',
'maui','maxo','midp','mits','mmef','mobi','mot-','moto','mwbp','nec-',
'newt','noki',/*'oper',*/'palm','pana','pant','phil','play','port','prox',
'qwap','sage','sams','sany','sch-','sec-','send','seri','sgh-','shar',
'sie-','siem','smal','smar','sony','sph-','symb','t-mo','teli','tim-',
'tosh','tsm-','upg1','upsi','vk-v','voda','wap-','wapa','wapi','wapp',
'wapr','webc','winw','winw','xda ','xda-');
(Note 'oper' is commented out)
Comments and changes to this ticket
-
expNinja October 11th, 2011 @ 12:44 AM
- Milestone set to 2.0.2
- State changed from new to resolved
- Milestone order changed from 112 to 0
(from [805ef3619b406258800158c24a353c151a719ee2]) Fixes several XHTML validation issues, Opera browser mis-detected as mobile device, etc... [#349 state:resolved milestone:2.0.2] [#350 state:resolved milestone:2.0.2] [#351 state:resolved milestone:2.0.2] https://github.com/exponentcms/exponent-cms/commit/805ef3619b406258...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Bug Tracker for Exponent CMS
People watching this ticket
Referenced by
- 349 HTML Validator crashes in 2.0.1 (from [805ef3619b406258800158c24a353c151a719ee2]) Fixes s...
- 350 HTML it is not actually valid in 2.0.1 (from [805ef3619b406258800158c24a353c151a719ee2]) Fixes s...