mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Avoid 'Only variables should be assigned by reference' warning. Props wonderboymusic. see #21865
git-svn-id: https://develop.svn.wordpress.org/trunk@22114 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -3653,7 +3653,7 @@ function get_pages($args = '') {
|
||||
update_post_cache( $pages );
|
||||
|
||||
if ( $child_of || $hierarchical )
|
||||
$pages = & get_page_children($child_of, $pages);
|
||||
$pages = get_page_children($child_of, $pages);
|
||||
|
||||
if ( !empty($exclude_tree) ) {
|
||||
$exclude = (int) $exclude_tree;
|
||||
|
||||
Reference in New Issue
Block a user