mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
git-svn-id: http://core.svn.wordpress.org/trunk@21567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ed3a84bacc
commit
cc63fad8cb
@ -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…
x
Reference in New Issue
Block a user