parse_query attempts to assign a non-variable by reference
|Reported by:||lgladdy||Owned by:||nacin|
Line 1628 of query.php is currently:
$this->queried_object =& get_page_by_path($qv['pagename']);
This results in a PHP error of "Only variables should be assigned by reference", pulling the result of the get_page_by_path into a variable and referencing that works okay, but i'm not confident enough in that not breaking other things to submit it as a patch!
$path = get_page_by_path($qv['pagename']); $this->queried_object =& $path;