Administration: Update the docs for wp_check_browser_version().

Correct `update_url` key name, add missing `platform` key.

Props coffee2code.
Fixes #40839.
Built from https://develop.svn.wordpress.org/trunk@40822


git-svn-id: http://core.svn.wordpress.org/trunk@40679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2017-05-23 00:17:42 +00:00
parent 6e935e7f20
commit da0a505497
2 changed files with 4 additions and 3 deletions

View File

@ -1508,12 +1508,13 @@ function wp_check_browser_version() {
/** /**
* Response should be an array with: * 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 * 'version' - string - The version of the browser the user is using
* 'current_version' - string - The most recent version of the browser * 'current_version' - string - The most recent version of the browser
* 'upgrade' - boolean - Whether the browser needs an upgrade * 'upgrade' - boolean - Whether the browser needs an upgrade
* 'insecure' - boolean - Whether the browser is deemed insecure * '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' - string - An image representing the browser
* 'img_src_ssl' - string - An image (over SSL) representing the browser * 'img_src_ssl' - string - An image (over SSL) representing the browser
*/ */

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.8-beta2-40821'; $wp_version = '4.8-beta2-40822';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.