Changeset 30982 for trunk/src/wp-includes/general-template.php
- Timestamp:
- 12/20/2014 10:46:53 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r30854 r30982 1439 1439 if ( ! $results = wp_cache_get( $key, 'posts' ) ) { 1440 1440 $results = $wpdb->get_results( $query ); 1441 $cache[ $key ] = $results;1442 1441 wp_cache_set( $key, $results, 'posts' ); 1443 1442 } … … 1658 1657 <tr>'; 1659 1658 1659 $daywithpost = array(); 1660 1660 1661 // Get days with posts 1661 1662 $dayswithposts = $wpdb->get_results("SELECT DISTINCT DAYOFMONTH(post_date) … … 1667 1668 $daywithpost[] = $daywith[0]; 1668 1669 } 1669 } else {1670 $daywithpost = array();1671 1670 } 1672 1671
Note: See TracChangeset
for help on using the changeset viewer.