Make WordPress Core

Changeset 27151


Ignore:
Timestamp:
02/09/2014 09:42:28 PM (11 years ago)
Author:
SergeyBiryukov
Message:

Update comment about structure of items in $menu global.

props kitchin.
fixes #26635.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/menu-header.php

    r26893 r27151  
    4848
    4949    $first = true;
    50     // 0 = name, 1 = capability, 2 = file, 3 = class, 4 = id, 5 = icon src
     50    // 0 = menu_title, 1 = capability, 2 = menu_slug, 3 = page_title, 4 = classes, 5 = hookname, 6 = icon_url
    5151    foreach ( $menu as $key => $item ) {
    5252        $admin_is_parent = false;
Note: See TracChangeset for help on using the changeset viewer.