mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-08 17:38:26 +01:00
Add missing filter to wp_get_nav_menu_items(). props filosofo, fixes #13858.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
35a3cdce98
commit
f98fc6e766
@ -505,7 +505,7 @@ function wp_get_nav_menu_items( $menu, $args = array() ) {
|
||||
}
|
||||
}
|
||||
|
||||
return $items;
|
||||
return apply_filters( 'wp_get_nav_menu_items', $items, $menu, $args );
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user