Make WordPress Core

Changeset 3490


Ignore:
Timestamp:
01/28/2006 06:19:11 AM (18 years ago)
Author:
matt
Message:

Caching typo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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');
Note: See TracChangeset for help on using the changeset viewer.