Caching typo.

git-svn-id: http://svn.automattic.com/wordpress/trunk@3490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2006-01-28 06:19:11 +00:00
parent a191df007e
commit dd14d47290
1 changed files with 1 additions and 1 deletions

View File

@ -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');
}