Make WordPress Core

Ticket #24802: 24802.patch

File 24802.patch, 611 bytes (added by Chouby, 11 years ago)
  • wp-includes/nav-menu.php

     
    221221                'description' => ( isset( $menu_data['description'] ) ? $menu_data['description']  : '' ),
    222222                'name'        => ( isset( $menu_data['menu-name']   ) ? $menu_data['menu-name']    : '' ),
    223223                'parent'      => ( isset( $menu_data['parent']      ) ? (int) $menu_data['parent'] : 0  ),
    224                 'slug'        => null,
    225224        );
    226225
    227226        // double-check that we're not going to have one menu take the name of another