Retern variable to avoid notice in PHP 4.

git-svn-id: https://develop.svn.wordpress.org/trunk@15265 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-06-16 19:11:44 +00:00
parent 3e337cf0fb
commit 7def07393e
1 changed files with 2 additions and 1 deletions

View File

@ -2866,7 +2866,8 @@ function get_all_page_ids() {
* @return mixed Page data.
*/
function &get_page(&$page, $output = OBJECT, $filter = 'raw') {
return get_post($page, $output, $filter);
$page = get_post($page, $output, $filter);
return $page;
}
/**