[wp-trac] Re: [WordPress Trac] #10053: get_children() returns false
when no children are found
WordPress Trac
wp-trac at lists.automattic.com
Sat Jun 13 15:10:29 GMT 2009
#10053: get_children() returns false when no children are found
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner: ryan
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9
Component: Query | Version: 2.7
Severity: minor | Keywords: has-patch commit
-------------------------------+--------------------------------------------
Changes (by Denis-de-Bernardy):
* keywords: has-patch => has-patch commit
Comment:
uploading a slightly improved patch in a sec. it is harmless for WP. on
the contrary, it:
- actually enhances get_media_items()
- prevents a potential warning in adjacent_image_link()
- prevents a potential warning in get_children() itself (false is
constant, rather than a reference to a variable)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10053#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list