WordPress.org

Making WordPress.org


Ignore:
Timestamp:
09/28/2017 04:30:41 PM (2 years ago)
Author:
coffee2code
Message:

Browse Happy API: Improve Windows Phone OS recognition, particularly for more modern Microsoft browsers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/api.wordpress.org/public_html/core/browse-happy/1.0/tests/phpunit/tests/browse-happy.php

    r5970 r5971  
    220220                'Mozilla/4.0 (compatible; MSIE 7.0; Windows Phone OS 7.0; Trident/3.1; IEMobile/7.0) LG;LG-E900h)',
    221221                'Windows Phone OS Internet Explorer Mobile 7.0',
     222            ],
     223            [
     224                'Mozilla/5.0 (compatible; MSIE 9.0; Windows Phone OS 7.5; Trident/5.0; IEMobile/9.0; NOKIA; Lumia 710)',
     225                'Windows Phone OS Internet Explorer Mobile 9.0',
     226            ],
     227            [
     228                'Mozilla/5.0 (compatible; MSIE 10.0; Windows Phone 8.0; Trident/6.0; IEMobile/10.0; ARM; Touch; NOKIA; Lumia 520)',
     229                'Windows Phone OS Internet Explorer Mobile 10.0',
     230            ],
     231            [
     232                'Mozilla/5.0 (Mobile; Windows Phone 8.1; Android 4.0; ARM; Trident/7.0; Touch; rv:11.0; IEMobile/11.0; Microsoft; Lumia 435) like iPhone OS 7_0_3 Mac OS X AppleWebKit/537 (KHTML, like Gecko) Mobile Safari/537',
     233                'Windows Phone OS Internet Explorer Mobile 11',
     234            ],
     235            [
     236                'Mozilla/5.0 (Windows Phone 8.1; ARM; Trident/7.0; Touch; rv:11.0; IEMobile/11.0; NOKIA; Lumia 520) like Gecko',
     237                'Windows Phone OS Internet Explorer Mobile 11',
    222238            ],
    223239
Note: See TracChangeset for help on using the changeset viewer.