Make WordPress Core

Ticket #19464: 19464.patch

File 19464.patch, 655 bytes (added by briandichiara, 9 years ago)

added new hook after_menu_settings that passes the ID of the current selected menu to appear below auto-add-pages and menu-theme-locations

  • wp-admin/nav-menus.php

    commit ca9c0d89f4ccc048af4a9d10a1fa14c4b6de6793
    Author: Brian DiChiara <briandichiara@gmail.com>
    Date:   Sun Oct 26 16:59:07 2014 -0700
    
        added new hook after_menu_settings below auto-add-pages checkbox and menu-theme-locations settings
    
    diff --git wp-admin/nav-menus.php wp-admin/nav-menus.php
    index 9ab2b1d..968bee9 100644
    require_once( ABSPATH . 'wp-admin/admin-header.php' ); 
    773773
    774774                                                                <?php endif; ?>
    775775
     776                                                                <?php do_action( 'after_menu_settings', $nav_menu_selected_id ); ?>
     777
    776778                                                        </div>
    777779                                                </div><!-- /#post-body-content -->
    778780                                        </div><!-- /#post-body -->