WordPress.org

Make WordPress Core

Changeset 17895


Ignore:
Timestamp:
05/12/11 05:45:02 (3 years ago)
Author:
nacin
Message:

Shorten key used for browse happy site transient so it fits in option_name. fixes #17323, props AaronCampbell.

File:
1 edited

Legend:

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

    r17888 r17895  
    12011201    $key = md5( $_SERVER['HTTP_USER_AGENT'] ); 
    12021202 
    1203     if ( false === ($response = get_site_transient('browsehappy_' . $key) ) ) { 
     1203    if ( false === ($response = get_site_transient('browser_' . $key) ) ) { 
    12041204        global $wp_version; 
    12051205 
     
    12301230            return; 
    12311231 
    1232         set_site_transient( 'browsehappy_' . $key, $response, 604800 ); // cache for 1 week 
     1232        set_site_transient( 'browser_' . $key, $response, 604800 ); // cache for 1 week 
    12331233    } 
    12341234 
Note: See TracChangeset for help on using the changeset viewer.