Changeset 21186
- Timestamp:
- 06/29/2012 08:57:09 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment.php
r20569 r21186 400 400 * @since 1.5.0 401 401 * @uses $wpdb 402 * @global array $cache_lastcommentmodified403 402 * 404 403 * @param string $timezone Which timezone to use in reference to 'gmt', 'blog', … … 407 406 */ 408 407 function get_lastcommentmodified($timezone = 'server') { 409 global $cache_lastcommentmodified, $wpdb; 408 global $wpdb; 409 static $cache_lastcommentmodified = array(); 410 410 411 411 if ( isset($cache_lastcommentmodified[$timezone]) ) -
trunk/wp-settings.php
r20610 r21186 39 39 // Turn register_globals off. 40 40 wp_unregister_GLOBALS(); 41 42 // Ensure these global variables do not exist so they do not interfere with WordPress.43 unset( $wp_filter, $cache_lastcommentmodified );44 41 45 42 // Standardize $_SERVER variables across setups.
Note: See TracChangeset
for help on using the changeset viewer.