Changeset 2479 for trunk/wp-includes/template-functions-post.php
- Timestamp:
- 03/27/2005 09:56:10 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/template-functions-post.php
r2478 r2479 252 252 253 253 function &get_pages($args = '') { 254 global $wpdb, $ cache_pages;254 global $wpdb, $page_cache; 255 255 256 256 parse_str($args, $r); … … 282 282 "ORDER BY " . $r['sort_column'] . " " . $r['sort_order']); 283 283 284 if ( empty($pages) ) 285 return array(); 286 284 287 // Update cache. 285 update_post_cache($pages); 286 287 if ( empty($pages) ) 288 $pages = array(); 288 update_page_cache($pages); 289 289 290 290 return $pages;
Note: See TracChangeset
for help on using the changeset viewer.