Make WordPress Core

Changeset 1521 for trunk/wp-settings.php


Ignore:
Timestamp:
08/09/2004 05:42:53 AM (21 years ago)
Author:
saxmatt
Message:

Load plugins even on plugin page.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r1513 r1521  
    8181}
    8282
    83 if (!strstr($_SERVER['PHP_SELF'], 'wp-admin/plugins.php') && get_settings('active_plugins')) {
    84     $current_plugins = explode("\n", (get_settings('active_plugins')));
     83if ( get_settings('active_plugins') ) {
     84    $current_plugins = explode("\n", get_settings('active_plugins') );
    8585    foreach ($current_plugins as $plugin) {
    8686        if (file_exists(ABSPATH . 'wp-content/plugins/' . $plugin))
Note: See TracChangeset for help on using the changeset viewer.