Make WordPress Core

Changeset 8501 for trunk/wp-settings.php


Ignore:
Timestamp:
07/30/2008 06:48:30 AM (17 years ago)
Author:
westi
Message:

Make the validate_file check more explict and obvious.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r8495 r8501  
    422422    if ( is_array($current_plugins) ) {
    423423        foreach ($current_plugins as $plugin) {
    424             if ( '' != $plugin && ! validate_file($plugin) && file_exists(WP_PLUGIN_DIR . '/' . $plugin) )
     424            if ( '' != $plugin && 0 == validate_file($plugin) && file_exists(WP_PLUGIN_DIR . '/' . $plugin) )
    425425                include_once(WP_PLUGIN_DIR . '/' . $plugin);
    426426        }
Note: See TracChangeset for help on using the changeset viewer.