[wp-trac] Re: [WordPress Trac] #8603: post_parent default in
get_children
WordPress Trac
wp-trac at lists.automattic.com
Sun Dec 14 11:16:56 GMT 2008
#8603: post_parent default in get_children
---------------------+------------------------------------------------------
Reporter: jdub | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.7.1
Component: General | Version: 2.7
Severity: normal | Resolution:
Keywords: |
---------------------+------------------------------------------------------
Comment (by filosofo):
In my opinion, the problem with an empty parent argument for
{{{get_children}}} is that it's semantically ambiguous: is it requesting
everything that is a child, all orphaned children, or all top-level
objects?
Besides, since its inception in 2.0 {{{get_children}}} has returned false
if no arguments are specified and it's not within the Loop. The behavior
you describe has worked only inconsistently (other parameters must be
specified) and only since 2.1.
--
Ticket URL: <http://trac.wordpress.org/ticket/8603#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list