Changeset 38459 for trunk/src/wp-admin/includes/dashboard.php
- Timestamp:
- 08/31/2016 05:48:49 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/dashboard.php
r38448 r38459 1394 1394 * @since 3.2.0 1395 1395 * 1396 * @global string $wp_version1397 *1398 1396 * @return array|bool False on failure, array of browser data on success. 1399 1397 */ … … 1405 1403 1406 1404 if ( false === ($response = get_site_transient('browser_' . $key) ) ) { 1407 global $wp_version;1408 1409 1405 $options = array( 1410 1406 'body' => array( 'useragent' => $_SERVER['HTTP_USER_AGENT'] ), 1411 'user-agent' => 'WordPress/' . $wp_version. '; ' . home_url()1407 'user-agent' => 'WordPress/' . get_bloginfo( 'version' ) . '; ' . home_url() 1412 1408 ); 1413 1409
Note: See TracChangeset
for help on using the changeset viewer.