WordPress.org

Make WordPress Core

Ticket #40839: 40839.diff

File 40839.diff, 1.0 KB (added by coffee2code, 2 years ago)

Patch to correct misnamed key and add docs for omitted key

  • src/wp-admin/includes/dashboard.php

     
    15081508
    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
    15191520                 */