[wp-trac] [WordPress Trac] #22208: get_children() doesn't support 'fields' => 'ids' as an argument
WordPress Trac
noreply at wordpress.org
Mon Jul 1 20:45:26 UTC 2013
#22208: get_children() doesn't support 'fields' => 'ids' as an argument
------------------------------------+------------------------------
Reporter: danielbachhuber | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version: 3.4.2
Severity: normal | Resolution:
Keywords: dev-feedback has-patch |
------------------------------------+------------------------------
Comment (by sphoid):
I ran into this error "Notice: Trying to get property of non-object in
/wp-includes/post.php on line 4617". It was triggered by the plugin
WordPress SEO 1.4.10 which uses the 'fields' => 'ids' argument to
get_children() in class-metabox.php line 1514. I applied the attached
patch and it resolved the issue for me.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22208#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list