Make WordPress Core

Ticket #26635: 26635.diff

File 26635.diff, 571 bytes (added by kitchin, 11 years ago)

comment fix

  • wp-admin/menu-header.php

     
    3737        global $self, $parent_file, $submenu_file, $plugin_page, $typenow;
    3838
    3939        $first = true;
    40         // 0 = name, 1 = capability, 2 = file, 3 = class, 4 = id, 5 = icon src
     40        // 0 = menu_title, 1 = capability, 2 = menu_slug, 3 = page_title, 4 = classes, 5 = hookname, 6 = icon_url
    4141        foreach ( $menu as $key => $item ) {
    4242                $admin_is_parent = false;
    4343                $class = array();