Caching typo.

git-svn-id: https://develop.svn.wordpress.org/trunk@3490 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2006-01-28 06:19:11 +00:00
parent e3834a8f51
commit 88aba4e4c2
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');
}