Changeset 10228 for trunk/wp-includes/general-template.php
- Timestamp:
- 12/19/2008 07:05:00 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/general-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/general-template.php
r10204 r10228 903 903 global $wpdb, $m, $monthnum, $year, $wp_locale, $posts; 904 904 905 $cache = array(); 905 906 $key = md5( $m . $monthnum . $year ); 906 907 if ( $cache = wp_cache_get( 'get_calendar', 'calendar' ) ) { 907 if ( is set( $cache[ $key ] ) ) {908 if ( is_array($cache) && isset( $cache[ $key ] ) ) { 908 909 echo $cache[ $key ]; 909 910 return; 910 911 } 911 912 } 913 914 if ( !is_array($cache) ) 915 $cache = array(); 912 916 913 917 ob_start();
Note: See TracChangeset
for help on using the changeset viewer.