Retern variable to avoid notice in PHP 4.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d22bec05b6
commit
bfd7a6b75b
|
@ -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