Make WordPress Core


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

    r30656 r31090  
    468468                        $located = STYLESHEETPATH . '/' . $template_name;
    469469                        break;
    470                 } else if ( file_exists(TEMPLATEPATH . '/' . $template_name) ) {
     470                } elseif ( file_exists(TEMPLATEPATH . '/' . $template_name) ) {
    471471                        $located = TEMPLATEPATH . '/' . $template_name;
    472472                        break;
Note: See TracChangeset for help on using the changeset viewer.