Changeset 5952
- Timestamp:
- 09/21/2017 08:23:28 PM (7 years ago)
- Location:
- sites/trunk/api.wordpress.org/public_html/core/browse-happy/1.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/api.wordpress.org/public_html/core/browse-happy/1.0/parse.php
r5951 r5952 43 43 ) ) { 44 44 $data['platform'] = $regs['platform']; 45 } 46 47 // Properly set platform if Android is actually being reported. 48 if ( 'Linux' === $data['platform'] && false !== strpos( $user_agent, 'Android' ) ) { 49 $data['platform'] = 'Android'; 45 50 } 46 51 -
sites/trunk/api.wordpress.org/public_html/core/browse-happy/1.0/tests/phpunit/tests/browse-happy.php
r5949 r5952 157 157 [ 158 158 'Mozilla/5.0 (Linux; U; Android 2.2; en-us; SGH-T959 Build/FROYO) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1', 159 ' LinuxMobile Safari 4.0',159 'Android Mobile Safari 4.0', 160 160 ], 161 161 [
Note: See TracChangeset
for help on using the changeset viewer.