Known Issue: Some web browser icons have not been found/added as of yet.And parse pingbacks such as “XML-RPC for PHP 2.2” in the future as something other than unknown. Mac versions are a little tricky since it seems they are optionally provided and formated differently per browser.I need to add fall back checks in case an odd UA string is created without version numbers for these so they are still detected. Maybe these will be added in the next release. Fedora version fetching is in the works as well as Mac OS X. Generic GNU/Linux now also specifies 圆4 when detected. Debian and Ubuntu based distros (that are supported) now fetch version numbers also.Cleaned code more and removed unnecessary global variable references.Implemented a fix for Opera’s new versioning system, which started in version 10 snapshots, to correctly display the browser version.*Note: The original author seems to like the additions that I made since I started extending this plugin and has incorporated many of the changes that I made into the other plugin.I will try to add them as soon as I possibly can. Known Issue: Most of the newly detected web browsers are still missing icons.Options include html and xhtml (strict for both). Cleaned code and simplified several naming systems used.Fixed a bug in previous versions that caused errors to occur when users who were not logged in attempted to post a comment.Added a couple more operating systems that are detected.Added over 40 more web browsers that are detected.Added Windows 7 and Windows 7 圆4 to detectable OS versions.Cleaned up appearance of “wp-useragent-options.php” settings page by categorizing the content.Gave WP-UserAgent settings page a header title to make the location more recognizable.Removed “target” attribute from browser links to improve XHTML 1.0 Strict compliance.Fixed regex for OLPC so it’s case insensitive.I will eventually work towards compliance for XHTML 1.0 Strict. This is the default DTD used in the WordPress administration panel. “wp-useragent-options.php” is now 100% XHTML 1.0 Transitional standards compliant.Adjusted the “UserAgent Output Location” section in “wp-useragent-options.php” and added the options to an ordered list, adjusting the use of the “small” tag.Removed text attributes that were improperly added to option tags in “wp-useragent-options.php” to correct html validation errors.Renamed the function “useragent_spy_custom()” in “wp-useragent.php” to “useragent_output_custom()” to make it more generic and move away from the UserAgent-Spy naming system.Replaced sloppy code for image paths with more dynamic code.Added Pre-2.6 compatibility for determining and defining Plugin and Content Directories constants.Updated Google Chrome logo images with logo images added to UserAgent-Spy 0.5.3.2 (Images already added in my version of 0.5.2, but replaced for consistency).Updated string names: $size => $uasize, $location =>$ualocation.I will add more soon and try to perfect the detection, but if you have problems then please let me know in the comments below! Changelog: ![]() ![]() I tried to add as much as possible for the time being. Please let me know of any suggestions or browser/operating system versions that should be added. Windows Millennium Edition (Windows ME).WordPress App (Android, BlackBerry, iOS, Nokis, WebOS, Windows Phone). ![]() I just like to contribute (although my name somewhere in the credits would be great □ ). Note to WordPress developers: Feel free to take the changes that I’ve made and add them in to WordPress 2.8 or whatever. WP-UserAgent is a user agent plugin for WordPress that uses the user agent provided by the visitors browser to identify their operating system and browser for each comment. This is a WordPress plugin that I’ve taken the liberty to maintain since the original author has failed to code to xhtml standards and keep up with the latest browsers as well as detecting platform versions, Internet Explorer versions and more. Donate: Help me keep the lights on! Donations are always appreciated, large or small!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |