Pass by value instead of reference. http://mosquito.wordpress.org/view.php?id=1171 Props: mdawaffe
git-svn-id: http://svn.automattic.com/wordpress/trunk@2482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
dbeb92f23b
commit
e6ace4940a
@ -250,7 +250,7 @@ function the_meta() {
|
|||||||
// Pages
|
// Pages
|
||||||
//
|
//
|
||||||
|
|
||||||
function &get_page_children($page_id, &$pages) {
|
function &get_page_children($page_id, $pages) {
|
||||||
global $page_cache;
|
global $page_cache;
|
||||||
|
|
||||||
if ( empty($pages) )
|
if ( empty($pages) )
|
||||||
|
Loading…
Reference in New Issue
Block a user