WordPress.org

Make WordPress Core

Changeset 11536


Ignore:
Timestamp:
06/09/09 21:48:58 (5 years ago)
Author:
azaozz
Message:

In get_posts() "category" is expected to be a string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/link-template.php

    r11528 r11536  
    10351035    } 
    10361036 
    1037     $categories = array_merge($cat_array, $excluded_categories); 
     1037    $categories = implode(',', array_merge($cat_array, $excluded_categories) ); 
    10381038 
    10391039    $order = $start ? 'ASC' : 'DESC'; 
Note: See TracChangeset for help on using the changeset viewer.