[wp-trac] [WordPress Trac] #22882: get_post_ancestors() now returns false in addition to array()

WordPress Trac noreply at wordpress.org
Wed Dec 12 17:07:00 UTC 2012


#22882: get_post_ancestors() now returns false in addition to array()
--------------------------+--------------------
 Reporter:  dd32          |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.5.1
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+--------------------

Comment (by aaroncampbell):

 I think returning array() here is a simple fix and I don't really see a
 downside.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22882#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list