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/includes/export.php

    r30754 r31090  
    9696        $cats = array( $cat->term_id => $cat );
    9797        unset( $term, $cat );
    98     } else if ( 'all' == $args['content'] ) {
     98    } elseif ( 'all' == $args['content'] ) {
    9999        $categories = (array) get_categories( array( 'get' => 'all' ) );
    100100        $tags = (array) get_tags( array( 'get' => 'all' ) );
Note: See TracChangeset for help on using the changeset viewer.