mirror of
git://develop.git.wordpress.org/
synced 2025-01-18 05:18:42 +01:00
Administration: Update the docs for wp_check_browser_version()
.
Correct `update_url` key name, add missing `platform` key. Props coffee2code. Fixes #40839. git-svn-id: https://develop.svn.wordpress.org/trunk@40822 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c1661ecbb3
commit
2b38449795
@ -1508,12 +1508,13 @@ function wp_check_browser_version() {
|
||||
|
||||
/**
|
||||
* Response should be an array with:
|
||||
* 'name' - string - A user friendly browser name
|
||||
* 'platform' - string - A user-friendly platform name, if it can be determined
|
||||
* 'name' - string - A user-friendly browser name
|
||||
* 'version' - string - The version of the browser the user is using
|
||||
* 'current_version' - string - The most recent version of the browser
|
||||
* 'upgrade' - boolean - Whether the browser needs an upgrade
|
||||
* 'insecure' - boolean - Whether the browser is deemed insecure
|
||||
* 'upgrade_url' - string - The url to visit to upgrade
|
||||
* 'update_url' - string - The url to visit to upgrade
|
||||
* 'img_src' - string - An image representing the browser
|
||||
* 'img_src_ssl' - string - An image (over SSL) representing the browser
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user