[wp-trac] [WordPress Trac] #22208: get_children() doesn't support 'fields' => 'ids' as an argument
WordPress Trac
noreply at wordpress.org
Fri Aug 23 22:24:47 UTC 2013
#22208: get_children() doesn't support 'fields' => 'ids' as an argument
------------------------------+--------------------
Reporter: danielbachhuber | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.7
Component: Query | Version: 3.4.2
Severity: normal | Resolution:
Keywords: has-patch commit |
------------------------------+--------------------
Comment (by nacin):
I imagine more `fields` might come later on — rather than a blacklist,
let's make this a whitelist.
{{{
if ( ! empty( $r[ 'fields' ] ) )
return $children;
}}}
Thoughts?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22208#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list