WordPress.org

Plugin Directory

Test out the new Plugin Directory and let us know what you think.

PHP Browser Detection

PHP Browser Detection is a WordPress plugin used to detect a user's browser. Please report any bugs on the support forums.

3.1.8

  • Add missing include file
  • Confirm filters aren't working (needs refactor)

3.1.7

  • Added shortcodes

3.1.6

  • Bugfix for 3.1.5

3.1.5

  • Updated Browscap to 2.0.5
  • Re-enable auto-updates
  • Added filter to turn off auto updates for host with low memory.
  • Added FAQ about manually updating.
  • Added global variable for $browser_info = php_browser_info();

3.1.4

  • Updated default browscap.ini

3.1.3

  • Updated default browscap.ini
  • Migrated Browscap.php to use asgrim's fork
  • Added ID param for tests

3.1.2

  • Disabled auto updates because of memory problems
  • Minor bugfixes
  • Add icons for WP 4.0 plugin installer
  • Added development repo on github.com
  • Updated Browscap library

3.1.1

  • Fix for is_desktop()
  • Added is_true

3.1

  • Updated default browscap.ini
  • Changed version of browscap to utilize less memory
  • Updated Browscap to version 2.0 from 2b

3.0.1

  • Added FAQ section

3.0

  • Browscap.ini database auto-updates!
  • Browscap database caching!
  • Added is_tablet()
  • Added is_desktop()
  • Added is_browser()
  • Various detection fixes (incl. Opera Mini and IE Mobile)
  • Updated tests
  • Refactored plugin structure
  • Now utilizes Browser Capabilities PHP Project by Garet Jax

2.2.4

  • updated php_browser_detection_browscap.ini to version 5027

2.2.3

  • updated readme

2.2.2

  • updated php_browser_detection_browscap.ini to version 5022
  • bugfixes

2.2.1

  • updated php_browser_detection_browscap.ini to version 5020
  • bugfixes
  • additional testing and QA

2.2

  • updated php_browser_detection_browscap.ini to version 5020 (custom version)
  • minor code cleanup
  • added tests.php to check all plugin features
  • added additional usage examples to readme.txt
  • deprecated is_ie9() functions in favor is is_ie(9), etc.
  • fixed issue with is_ipod
  • fixed issue with is_mobile
  • fixed issue with detecting Android 4.2.*
  • fixed issue with boolean values
  • other minor bug fixes reported on wordpress.org

2.1.3

  • updated php_browser_detection_browscap.ini to version 5016

2.1.2

  • updated php_browser_detection_browscap.ini to version 5004

2.1.1

  • updated php_browser_detection_browscap.ini to version 4911

2.1

  • fixed path info to work with 'mu-plugins' folder, version 2.0 didn't know how to find it.
  • better recognition of iPad and iPhone with iOS 4

2.0

  • Added tests for iPad, iPod, Chrome, Opera
  • Added ability to test for any version for each browser
  • Added ability to get browser name and get browser version

1.2

  • fixed the lesser than statements.
  • They had been looking for lesser than or equal to
  • Fixed the is_safari() statement.

1.1

  • Fixed error on line 156 preventing activation

Compatible up to: 4.3.6
Last Updated: 1 year ago
Active Installs: 4,000+

Ratings

4.3 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,2,2
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1 100,1,1
100,1,1 50,2,1
100,3,3
50,2,1
33,6,2
100,1,1 100,1,1
100,2,2 100,2,2
100,1,1
100,1,1
100,1,1
0,1,0
100,1,1 100,1,1
100,1,1 100,1,1
50,2,1
100,1,1 0,1,0
100,1,1
100,3,3
100,1,1
100,1,1 100,1,1
100,1,1