WordPress.org

Make WordPress Core

Changeset 12571


Ignore:
Timestamp:
12/29/09 21:11:18 (6 years ago)
Author:
ryan
Message:

Return empty array instead of null. Props Denis-de-Bernardy. fixes #11661 for trunk

File:
1 edited

Legend:

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

    r12538 r12571  
    24022402 
    24032403    if ( empty( $pages ) ) { 
    2404         $result = null; 
     2404        $result = array(); 
    24052405        return $result; 
    24062406    } 
Note: See TracChangeset for help on using the changeset viewer.