Make WordPress Core

Ticket #22882: 22882.diff

File 22882.diff, 306 bytes (added by dannydehaan, 12 years ago)

22882

  • wp-includes/post.php

    diff --git wp-includes/post.php wp-includes/post.php
    index 54f17f4..581ca52 100644
    final class WP_Post { 
    682682 */
    683683function get_post_ancestors( $post ) {
    684684        if ( ! $post )
    685                 return false;
     685                return array();
    686686
    687687        $post = get_post( $post );
    688688