Make WordPress Core


Ignore:
Timestamp:
10/17/2008 10:55:30 PM (16 years ago)
Author:
ryan
Message:

Must pass var by ref. Props x11tech. fixes #7781

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post.php

    r9177 r9239  
    20572057
    20582058    $key = md5( serialize( $r ) );
    2059     if ( $cache = wp_cache_get( 'get_pages', 'posts' ) )
    2060         if ( isset( $cache[ $key ] ) )
    2061             return apply_filters('get_pages', $cache[ $key ], $r );
     2059    if ( $cache = wp_cache_get( 'get_pages', 'posts' ) ) {
     2060        if ( isset( $cache[ $key ] ) ) {
     2061            $pages = apply_filters('get_pages', $cache[ $key ], $r );
     2062            return $pages;
     2063        }
     2064    }
    20622065
    20632066    $inclusions = '';
Note: See TracChangeset for help on using the changeset viewer.