WordPress.org

Make WordPress Core

Ticket #11661: 11661.diff

File 11661.diff, 352 bytes (added by Denis-de-Bernardy, 8 years ago)
  • wp-includes/post.php

     
    24012401function &get_page_hierarchy( &$pages, $page_id = 0 ) {
    24022402
    24032403        if ( empty( $pages ) ) {
    2404                 $result = null;
     2404                $result = array();
    24052405                return $result;
    24062406        }
    24072407