[wp-trac] [WordPress Trac] #13208: shared code in get_mu_plugins() and get_dropins()

WordPress Trac wp-trac at lists.automattic.com
Mon May 31 18:58:32 UTC 2010


#13208: shared code in get_mu_plugins() and get_dropins()
--------------------------+-------------------------------------------------
 Reporter:  hakre         |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  3.1      
Component:  General       |     Version:           
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------

Comment(by hakre):

 Replying to [comment:3 nacin]:
 > closedir() was taken directly from get_plugins.
 The note for closedir was just a sidenote - no need to focus on that, that
 was informative.

 > If you split this into two patches, we can consider drying up the code
 for 3.0. Not really necessary though -- it's quite similar code across the
 three functions, but extracting out the duplicated code isn't less
 complicated because of the differences.

 Standard plugins are handling directories recursively, mu and dropins
 don't to that. To not be so invasive, this is for those two only. So I
 would first love to see this in before extending it over other places as
 well.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13208#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list