equal
deleted
inserted
replaced
94 // check for out-of-date plugins |
94 // check for out-of-date plugins |
95 foreach ( $this->load_list as $i => $plugin ) |
95 foreach ( $this->load_list as $i => $plugin ) |
96 { |
96 { |
97 if ( in_array($plugin, $this->system_plugins) ) |
97 if ( in_array($plugin, $this->system_plugins) ) |
98 continue; |
98 continue; |
|
99 |
99 if ( $this->loaded_plugins[$plugin]['status'] & PLUGIN_OUTOFDATE ) |
100 if ( $this->loaded_plugins[$plugin]['status'] & PLUGIN_OUTOFDATE ) |
100 { |
101 { |
101 // it's out of date, don't load |
102 // it's out of date, don't load |
102 unset($this->load_list[$i]); |
103 unset($this->load_list[$i]); |
103 unset($this->loaded_plugins[$plugin]); |
104 unset($this->loaded_plugins[$plugin]); |