mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-02 17:47:50 +02:00
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.
|
* @return mixed Page data.
|
||||||
*/
|
*/
|
||||||
function &get_page(&$page, $output = OBJECT, $filter = 'raw') {
|
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