WordPress.org

Make WordPress Core

Ticket #29914: 29914.diff

File 29914.diff, 751 bytes (added by morganestes, 7 years ago)
  • wp-includes/nav-menu.php

     
    518518 * @since 3.2.0
    519519 * @access private
    520520 *
    521  * @param object $menu_item The menu item to check
     521 * @param  object $item The menu item to check.
    522522 * @return bool false if invalid, else true.
    523523 */
    524524function _is_valid_nav_menu_item( $item ) {
     
    534534 * @since 3.0.0
    535535 *
    536536 * @param string $menu menu name, id, or slug
    537  * @param string $args
     537 * @param array  $args Optional. Arguments to pass to get_posts().
    538538 * @return mixed $items array of menu items, else false.
    539539 */
    540540function wp_get_nav_menu_items( $menu, $args = array() ) {