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

git-svn-id: https://develop.svn.wordpress.org/trunk@21186 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2012-06-29 20:57:09 +00:00
parent 9fd4c1cb9b
commit e1b03b4fd4
2 changed files with 2 additions and 5 deletions
+2 -2
View File
@@ -399,14 +399,14 @@ function get_comment_statuses( ) {
*
* @since 1.5.0
* @uses $wpdb
* @global array $cache_lastcommentmodified
*
* @param string $timezone Which timezone to use in reference to 'gmt', 'blog',
* or 'server' locations.
* @return string Last comment modified date.
*/
function get_lastcommentmodified($timezone = 'server') {
global $cache_lastcommentmodified, $wpdb;
global $wpdb;
static $cache_lastcommentmodified = array();
if ( isset($cache_lastcommentmodified[$timezone]) )
return $cache_lastcommentmodified[$timezone];