Changeset 2217 for sites/trunk/browsehappy.com/public_html/functions.php
- Timestamp:
- 12/18/2015 10:52:29 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/browsehappy.com/public_html/functions.php
r2216 r2217 106 106 if ( false !== strpos( $data, 'Android' ) || false !== strpos( $data, 'iOS' ) ) 107 107 continue; 108 if ( false !== strpos( $data, 'Linux' ) && false === strpos( $data, 'Mac OS X' ) && false === strpos( $data, 'Windows' ) ) 109 continue; 108 110 if ( ( false !== $pos = strpos( $data, 'latest_release_version' ) ) || ( false !== $pos = strpos( $data, 'latest release version' ) ) ) { 109 111 if ( $pos ) 110 112 $data = substr( $data, $pos ); 111 113 $version = trim( str_replace( array( 'latest_release_version', 'latest release version', '=' ), '', $data ), '| ' ) . " "; 114 $version = str_replace( "'''Mac OS X''' and '''Microsoft Windows'''<br />", '', $version ); 112 115 $version = substr( $version, 0, strpos( $version, ' ' ) ); 113 116 break;
Note: See TracChangeset
for help on using the changeset viewer.