[wpmu-trac] [WordPress MU Trac] #1163: Quick sorting issue in mu_filter_plugins_list

WordPress MU Trac wpmu-trac at lists.automattic.com
Tue Nov 24 05:24:26 UTC 2009


#1163: Quick sorting issue in mu_filter_plugins_list
--------------------------+-------------------------------------------------
 Reporter:  Pressography  |       Owner:  somebody                                        
     Type:  defect        |      Status:  new                                             
 Priority:  normal        |   Milestone:                                                  
Component:  component1    |     Version:                                                  
 Severity:  normal        |    Keywords:  sort, mu_filter_plugins_list, wpmu-functions.php
--------------------------+-------------------------------------------------
 I'm trying to get a number of my plugins to play nicely together, and they
 all depend on 1 plugin, so I renamed it with a ! at the beginning, so it
 would load before all of the other plugins.

 It works perfectly with WP, because there's a sort($current); line in the
 function when you activate a new plugin (wp-admin/includes/plugin.php line
 316)

 But then in the active_plugins function that WPMU hooks into via
 mu_filter_plugins_list (wpmu-functions.php lines 2281-2289) it merges the
 active plugins array with the site-wide plugins array, but never sorts the
 newly created array.

 Could sorting be added, so WPMU site-wide plugins are sorted into the
 normal WP plugins? That would be the most logical answer here, since
 that's how WP proper works.

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/1163>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list