WordPress.org

Make WordPress Core

Changeset 40822


Ignore:
Timestamp:
05/23/2017 12:16:43 AM (14 months ago)
Author:
SergeyBiryukov
Message:

Administration: Update the docs for wp_check_browser_version().

Correct update_url key name, add missing platform key.

Props coffee2code.
Fixes #40839.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/dashboard.php

    r40803 r40822  
    15091509        /**
    15101510         * Response should be an array with:
    1511          *  'name' - string - A user friendly browser name
     1511         *  'platform' - string - A user-friendly platform name, if it can be determined
     1512         *  'name' - string - A user-friendly browser name
    15121513         *  'version' - string - The version of the browser the user is using
    15131514         *  'current_version' - string - The most recent version of the browser
    15141515         *  'upgrade' - boolean - Whether the browser needs an upgrade
    15151516         *  'insecure' - boolean - Whether the browser is deemed insecure
    1516          *  'upgrade_url' - string - The url to visit to upgrade
     1517         *  'update_url' - string - The url to visit to upgrade
    15171518         *  'img_src' - string - An image representing the browser
    15181519         *  'img_src_ssl' - string - An image (over SSL) representing the browser
Note: See TracChangeset for help on using the changeset viewer.