Make WordPress Core

Changeset 52339


Ignore:
Timestamp:
12/07/2021 05:47:28 PM (3 years ago)
Author:
audrasjb
Message:

Coding Standards: Replace else if with elseif after [52338].

Follow-up to [52338].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class.wp-dependencies.php

    r52338 r52339  
    356356                    $this->args[ $handle[0] ] = $handle[1];
    357357                }
    358             } else if ( ! isset( $this->registered[ $handle[0] ] ) ) {
     358            } elseif ( ! isset( $this->registered[ $handle[0] ] ) ) {
    359359                $this->queued_before_register[ $handle[0] ] = null; // $args
    360360
     
    388388                unset( $this->queue[ $key ] );
    389389                unset( $this->args[ $handle[0] ] );
    390             } else if ( array_key_exists( $handle[0], $this->queued_before_register ) ) {
     390            } elseif ( array_key_exists( $handle[0], $this->queued_before_register ) ) {
    391391                unset( $this->queued_before_register[ $handle[0] ] );
    392392            }
Note: See TracChangeset for help on using the changeset viewer.