From dd14d4729001d1c3eb4b7fdddfaa5eb6e6018bdc Mon Sep 17 00:00:00 2001 From: matt Date: Sat, 28 Jan 2006 06:19:11 +0000 Subject: [PATCH] Caching typo. git-svn-id: http://svn.automattic.com/wordpress/trunk@3490 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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'); }