Make WordPress Core


Ignore:
Timestamp:
12/05/2008 07:19:24 PM (18 years ago)
Author:
ryan
Message:

post_parent dropdown fixes. get_pages() cache fix to eliminate duplicate queries.

File:
1 edited

Legend:

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

    r9906 r10070  
    20662066        extract( $r, EXTR_SKIP );
    20672067
    2068         $key = md5( serialize( $r ) );
     2068        $key = md5( serialize( compact(array_keys($defaults)) ) );
    20692069        if ( $cache = wp_cache_get( 'get_pages', 'posts' ) ) {
    20702070                if ( isset( $cache[ $key ] ) ) {
Note: See TracChangeset for help on using the changeset viewer.