Changeset 3490

Show
Ignore:
Timestamp:
01/28/06 06:19:11 (3 years ago)
Author:
matt
Message:

Caching typo.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/functions.php

    r3489 r3490  
    815815    global $wpdb; 
    816816     
    817     if ( ! $page_ids = wp_cache_get('all_page_ids', 'posts') ) { 
     817    if ( ! $page_ids = wp_cache_get('all_page_ids', 'pages') ) { 
    818818        $page_ids = $wpdb->get_col("SELECT ID FROM $wpdb->posts WHERE post_status='static'"); 
    819819        wp_cache_add('all_page_ids', $page_ids, 'pages');