[wp-trac] Re: [WordPress Trac] #6308: Edit Plugins screen issue

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 20 19:22:40 GMT 2008


#6308: Edit Plugins screen issue
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |        Owner:  neodude 
     Type:  task               |       Status:  assigned
 Priority:  low                |    Milestone:          
Component:  Administration     |      Version:  2.5     
 Severity:  minor              |   Resolution:          
 Keywords:  dev-feedback       |  
-------------------------------+--------------------------------------------
Comment (by Denis-de-Bernardy):

 mmm, works better with parenthesis :)

 {{{
 if ( ( $current_plugins = get_option('active_plugins') ) &&
 is_array($current_plugins ) {
         function wp_include_plugin($plugin) {
                 if ('' != $plugin && file_exists(ABSPATH . PLUGINDIR . '/'
 . $plugin))
                         include_once(ABSPATH . PLUGINDIR . '/' . $plugin);
         }

         foreach ($current_plugins as $plugin) {
                 wp_include_plugin($plugin);
         }
 }

 }}}

 but anyway... I'd be curious to get Ryan's thoughts on this.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6308#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list