Changeset 8501

Show
Ignore:
Timestamp:
07/30/08 06:48:30 (4 months ago)
Author:
westi
Message:

Make the validate_file check more explict and obvious.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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        }