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:
ryan 2010-06-16 19:11:44 +00:00
parent d22bec05b6
commit bfd7a6b75b

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;
}
/**