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

    r31036 r31090  
    11691169    if ( $user_ID ) {
    11701170        $comment_args['include_unapproved'] = array( $user_ID );
    1171     } else if ( ! empty( $comment_author_email ) ) {
     1171    } elseif ( ! empty( $comment_author_email ) ) {
    11721172        $comment_args['include_unapproved'] = array( $comment_author_email );
    11731173    }
Note: See TracChangeset for help on using the changeset viewer.