Make WordPress Core

Changeset 1712 for trunk/wp-settings.php


Ignore:
Timestamp:
09/26/2004 06:12:55 PM (21 years ago)
Author:
michelvaldrighi
Message:

fix for #317: part two, avoid including the same plugin file twice

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r1597 r1712  
    7979    foreach ($current_plugins as $plugin) {
    8080        if ('' != $plugin && file_exists(ABSPATH . 'wp-content/plugins/' . $plugin))
    81             include(ABSPATH . 'wp-content/plugins/' . $plugin);
     81            include_once(ABSPATH . 'wp-content/plugins/' . $plugin);
    8282    }
    8383}
Note: See TracChangeset for help on using the changeset viewer.