Make WordPress Core


Ignore:
Timestamp:
05/31/2007 03:19:38 AM (19 years ago)
Author:
rob1n
Message:

Fix some typos in query.php. Props schulte. fixes #4373

File:
1 edited

Legend:

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

    r5593 r5609  
    856856                                } else {
    857857                                        $out_cats[] = $cat;
    858                                         $out_cats = arry_merge($out_cats, get_term_children($cat, 'category'));
     858                                        $out_cats = array_merge($out_cats, get_term_children($cat, 'category'));
    859859                                }
    860860                        }
     
    865865
    866866                        if ( !empty($out_cats) ) {
    867                                 $ids = get_objects_in_terms($out_cats, 'category');
     867                                $ids = get_objects_in_term($out_cats, 'category');
    868868                                if ( is_array($ids) && count($ids > 0) ) {
    869869                                        $out_posts = "'" . implode("', '", $ids) . "'";
Note: See TracChangeset for help on using the changeset viewer.