WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/17/2010 04:39:50 AM (11 years ago)
Author:
markjaquith
Message:

More pedantry. "Setup" is not a verb. http://notaverb.com/setup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/nav-menu.php

    r13722 r13725  
    314314       
    315315        if ( 0 == $menu_item->post_parent ) {
    316             // Setup the menu item
     316            // Set up the menu item
    317317            $menu_item = wp_setup_nav_menu_item( $menu_item, $object_type, $object );           
    318318            $attributes = ( 'backend' == $context ) ? ' id="menu-item-'. $i .'" value="'. $i .'"' : '';
     
    372372        $output .= '<ul class="sub-menu menu-item-type-'. $object_type .'">';
    373373        foreach ( $sub_menu_items as $menu_item ) {
    374             // Setup the menu item
     374            // Set up the menu item
    375375            $menu_item = wp_setup_nav_menu_item( $menu_item, $object_type, $object );
    376376            $attributes = ( 'backend' == $context ) ? ' id="menu-item-'. $i .'" value="'. $i .'"' : '';
Note: See TracChangeset for help on using the changeset viewer.