Make WordPress Core


Ignore:
Timestamp:
01/08/2015 07:04:40 AM (10 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/includes/template.php

    r31034 r31090  
    18491849            $attributes .= $attribute . '="' . esc_attr( $value ) . '" '; // Trailing space is important
    18501850        }
    1851     } else if ( !empty( $other_attributes ) ) { // Attributes provided as a string
     1851    } elseif ( ! empty( $other_attributes ) ) { // Attributes provided as a string
    18521852        $attributes = $other_attributes;
    18531853    }
Note: See TracChangeset for help on using the changeset viewer.