From 88aba4e4c21beacd9a1bc96ef8af9209e538bf90 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Sat, 28 Jan 2006 06:19:11 +0000 Subject: [PATCH] Caching typo. git-svn-id: https://develop.svn.wordpress.org/trunk@3490 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 480087a922..c25b439f2f 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -814,7 +814,7 @@ function get_all_category_ids() { function get_all_page_ids() { global $wpdb; - if ( ! $page_ids = wp_cache_get('all_page_ids', 'posts') ) { + if ( ! $page_ids = wp_cache_get('all_page_ids', 'pages') ) { $page_ids = $wpdb->get_col("SELECT ID FROM $wpdb->posts WHERE post_status='static'"); wp_cache_add('all_page_ids', $page_ids, 'pages'); }