Make WordPress Core


Ignore:
Timestamp:
06/29/2012 08:57:09 PM (14 years ago)
Author:
nacin
Message:

Remove old code unsetting a few variables in wp-settings.php. fixes #21115.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/comment.php

    r20569 r21186  
    400400 * @since 1.5.0
    401401 * @uses $wpdb
    402  * @global array $cache_lastcommentmodified
    403402 *
    404403 * @param string $timezone Which timezone to use in reference to 'gmt', 'blog',
    … …  
    407406 */
    408407function get_lastcommentmodified($timezone = 'server') {
    409         global $cache_lastcommentmodified, $wpdb;
     408        global $wpdb;
     409        static $cache_lastcommentmodified = array();
    410410
    411411        if ( isset($cache_lastcommentmodified[$timezone]) )
Note: See TracChangeset for help on using the changeset viewer.