Changeset 1466999
- Timestamp:
- 08/03/2016 03:35:12 PM (10 years ago)
- Location:
- wp-useragent/trunk
- Files:
-
- 3 edited
-
readme.txt (modified) (3 diffs)
-
wp-useragent-detect-webbrowser.php (modified) (2 diffs)
-
wp-useragent.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-useragent/trunk/readme.txt
r1416536 r1466999 4 4 Tags: useragent, user-agent, user agent, web, browser, web browser, operating system, platform, os, mac, apple, windows, win, linux, phone 5 5 Requires at least: 2.0 6 Tested up to: 4. 5.27 Stable tag: 1.1. 06 Tested up to: 4.6 7 Stable tag: 1.1.1 8 8 9 9 == Description == … … 84 84 85 85 == Changelog == 86 87 = v1.1.1 = 88 * Added detection for WebView for Android (based on Chromium) 89 * Added detection for Min Browser 90 86 91 87 92 = v1.1.0 = … … 673 678 == Upgrade Notice == 674 679 675 = v1.0.12 = 676 * Added option to adjust how version numbers are shown: Full (previous appearance, ex. 'Opera 10.52'), Simple (ex. 'Opera 10'), off (ex. 'Opera') 677 * Cleaned up web browser version parsing (simplified pretty dramatically) 678 * Cleaned up os/device version parsing and architecture parsing (x64) 679 680 681 = v1.0.11 = 682 * Added text domain to enable user contributed language translations (popular request: all options and text for this plugin should now be translatable)! 683 * Added quick button/link to translation page (hopefully this encourages more people to contribute!) 684 * Ran all the png images through optimization again minimize bandwidth usage (minor filesize improvements on 11 icons) 685 * Added plugin icon for a little more flair 686 * Added frequently asked questions/answers to readme 687 * Added screenshot assets 680 = v1.1.1 = 681 * Added detection for WebView for Android (based on Chromium) 682 * Added detection for Min Browser -
wp-useragent/trunk/wp-useragent-detect-webbrowser.php
r1416536 r1466999 867 867 $code = 'midori'; 868 868 } 869 elseif (preg_match('/ min\//i', $useragent)) 870 { 871 $link = 'https://github.com/minbrowser/min'; 872 $title = 'Min Browser'; 873 $version = wpua_detect_browser_version('min'); 874 $code = 'min'; 875 } 869 876 elseif (preg_match('/Minefield/i', $useragent)) 870 877 { … … 1725 1732 $version = ''; 1726 1733 $code = 'webrender'; 1734 } 1735 elseif (preg_match('/Chrome/i', $useragent) 1736 && preg_match('/Mobile/i', $useragent) 1737 && ( preg_match('/Version/i', $useragent) 1738 || preg_match('/wv/i', $useragent) )) 1739 { 1740 // https://developer.chrome.com/multidevice/user-agent 1741 $link = 'https://developer.chrome.com/multidevice/webview/overview'; 1742 $title = 'WebView'; 1743 $version = wpua_detect_browser_version('Version'); 1744 $code = 'android'; 1727 1745 } 1728 1746 elseif (preg_match('/WeltweitimnetzBrowser/i', $useragent)) -
wp-useragent/trunk/wp-useragent.php
r1416536 r1466999 4 4 * Plugin URI: https://www.kyleabaker.com/goodies/coding/wp-useragent/ 5 5 * Description: A simple User-Agent detection plugin that lets you easily insert icons and/or textual web browser and operating system details with each comment. 6 * Version: 1.1. 06 * Version: 1.1.1 7 7 * Author: Kyle Baker 8 8 * Author URI: https://www.kyleabaker.com/
Note: See TracChangeset
for help on using the changeset viewer.