Make WordPress Core

Changeset 1010 for trunk/wp-settings.php


Ignore:
Timestamp:
03/25/2004 08:10:26 AM (21 years ago)
Author:
saxmatt
Message:

Functional plugin implementation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r957 r1010  
    6969}
    7070
    71 
     71if (!strstr($_SERVER['REQUEST_URI'], 'wp-admin/plugins.php') && get_settings('active_plugins')) {
     72    $current_plugins = explode("\n", (get_settings('active_plugins')));
     73    foreach ($current_plugins as $plugin) {
     74        if (file_exists(ABSPATH . 'wp-content/plugins/' . $plugin))
     75            include(ABSPATH . 'wp-content/plugins/' . $plugin);
     76    }
     77}
    7278
    7379?>
Note: See TracChangeset for help on using the changeset viewer.