WordPress.org

Make WordPress Core

Ticket #30540: 30540.patch

File 30540.patch, 465 bytes (added by jaimieolmstead, 5 years ago)

param changed from string to int

  • nav-menu.php

     
    11481148 *
    11491149 * @since 3.0.0
    11501150 *
    1151  * @param string $menu_id The ID of the menu to format.
     1151 * @param int $menu_id The ID of the menu to format.
    11521152 * @return string|WP_Error $output The menu formatted to edit or error object on failure.
    11531153 */
    11541154function wp_get_nav_menu_to_edit( $menu_id = 0 ) {