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

    r31034 r31090  
    6161    if ( ! isset( $_GET['content'] ) || 'all' == $_GET['content'] ) {
    6262        $args['content'] = 'all';
    63     } else if ( 'posts' == $_GET['content'] ) {
     63    } elseif ( 'posts' == $_GET['content'] ) {
    6464        $args['content'] = 'post';
    6565
     
    7777        if ( $_GET['post_status'] )
    7878            $args['status'] = $_GET['post_status'];
    79     } else if ( 'pages' == $_GET['content'] ) {
     79    } elseif ( 'pages' == $_GET['content'] ) {
    8080        $args['content'] = 'page';
    8181
Note: See TracChangeset for help on using the changeset viewer.