WordPress.org

Make WordPress Core

Ticket #37575: 37575_1.patch

File 37575_1.patch, 426 bytes (added by vishalkakadiya, 5 years ago)

This patch is valid

  • wp-admin/js/customize-nav-menus.js

    diff --git a/wp-admin/js/customize-nav-menus.js b/wp-admin/js/customize-nav-menus.js
    index 2509035..1b5d92d 100644
    a b  
    446446                                'url': itemUrl.val(),
    447447                                'type': 'custom',
    448448                                'type_label': api.Menus.data.l10n.custom_label,
    449                                 'object': ''
     449                                'object': 'custom'
    450450                        };
    451451
    452452                        this.currentMenuControl.addItemToMenu( menuItem );