﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
20756,Wrong reference returned in function &get_pages,thomask,foxinni,"wp-includes/post.php line 3326

{{{
function &get_pages($args = '') {
}}}

should be

{{{
function get_pages($args = '') {
}}}

otherwise the

{{{
return false;
}}}

e.g. on line 3347 when requesting get_page with non-hierarchical post-type would throw something like

{{{
Notice: Only variable references should be returned by reference in /var/www/vhosts/money.cz/httpdocs/wp-includes/post.php on line 3347
}}}

(sorry i do not know how to make patches)",defect (bug),closed,normal,3.5,Warnings/Notices,3.3.2,trivial,fixed,has-patch,
