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:
parent
3e337cf0fb
commit
7def07393e
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user