Make WordPress Core


Ignore:
Timestamp:
01/08/2015 07:04:40 AM (11 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-admin/edit-tags.php

    r30999 r31090  
    2929    $parent_file = ( 'attachment' == $post_type ) ? 'upload.php' : "edit.php?post_type=$post_type";
    3030    $submenu_file = "edit-tags.php?taxonomy=$taxonomy&post_type=$post_type";
    31 } else if ( 'link_category' == $tax->name ) {
     31} elseif ( 'link_category' == $tax->name ) {
    3232    $parent_file = 'link-manager.php';
    3333    $submenu_file = 'edit-tags.php?taxonomy=link_category';
Note: See TracChangeset for help on using the changeset viewer.