git-svn-id: https://develop.svn.wordpress.org/trunk@21567 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
89d3a6c1a1
commit
9143e2c860
@ -3520,8 +3520,8 @@ function &get_pages($args = '') {
|
||||
if ( is_array($cache) && isset( $cache[ $key ] ) ) {
|
||||
// Convert to WP_Post instances
|
||||
$pages = array_map( 'get_post', $cache[ $key ] );
|
||||
|
||||
return apply_filters( 'get_pages', $pages, $r );
|
||||
$pages = apply_filters( 'get_pages', $pages, $r );
|
||||
return $pages;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user