[wp-trac] [WordPress Trac] #21181: simplify and add filter to is_upload_space_available

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 10 14:26:42 UTC 2012


#21181: simplify and add filter to is_upload_space_available
-------------------------+-----------------------
 Reporter:  jkudish      |       Owner:  westi
     Type:  enhancement  |      Status:  accepted
 Priority:  normal       |   Milestone:  3.5
Component:  Multisite    |     Version:  3.4.1
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+-----------------------
Changes (by westi):

 * owner:   => westi
 * status:  new => accepted
 * component:  General => Multisite
 * milestone:  Awaiting Review => 3.5


Comment:

 In [attachment:21181.rework.diff] I have made a more major reworking of
 the code including:

  * Moving some admin only functions into wp-admin/includes/ms.php from wp-
 includes/ms-functions.php
  * Reworked the variable naming to be more in line with the Coding
 Standards
  * Introduced a new get_space_used() function instead of calculating it in
 multiple places.

 Has only had light testing so far.

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


More information about the wp-trac mailing list