WordPress.org

Make WordPress Core

Changeset 6205


Ignore:
Timestamp:
10/08/2007 10:26:19 PM (12 years ago)
Author:
ryan
Message:

Apply filteres when returning empty array from get_pages. Props epper. fixes #4712 for 2.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.3/wp-includes/post.php

    r6184 r6205  
    12041204
    12051205    if ( empty($pages) )
    1206         return array();
     1206        return apply_filters('get_pages', array(), $r);
    12071207
    12081208    // Update cache.
Note: See TracChangeset for help on using the changeset viewer.