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

WordPress Trac wp-trac at lists.automattic.com
Mon Jul 9 11:03:08 UTC 2012


#21181: simplify and add filter to is_upload_space_available
-------------------------+------------------------------
 Reporter:  jkudish      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:  3.4.1
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------

Comment (by westi):

 I think a better solution here is to add a {{{pre_}}} filter into
 {{{get_upload_space_available}}} so that a replacement method of tracking
 used upload space can easily be plugged into core.

 This should probably happen after the upload_space_check_disabled check so
 as to give that feature continuing functionality.

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


More information about the wp-trac mailing list