Make WordPress Core


Ignore:
Timestamp:
01/08/2015 07:04:40 AM (9 years ago)
Author:
wonderboymusic
Message:

The keyword elseif should be used instead of else if so that all control keywords look like single words.

This was a mess, is now standardized across the codebase, except for a few 3rd-party libs.

See #30799.

File:
1 edited

Legend:

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

    r30619 r31090  
    807807            ) {
    808808                $menu_item_ids[] = (int) $menu_item->ID;
    809             } else if (
     809            } elseif (
    810810                'taxonomy' == $object_type &&
    811811                'taxonomy' == $menu_item_type &&
Note: See TracChangeset for help on using the changeset viewer.