WordPress.org

Make WordPress Core

Changeset 6204


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

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

File:
1 edited

Legend:

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

    r6185 r6204  
    12111211
    12121212    if ( empty($pages) )
    1213         return array();
     1213        return apply_filters('get_pages', array(), $r);
    12141214
    12151215    // Update cache.
Note: See TracChangeset for help on using the changeset viewer.