[wp-trac] [WordPress Trac] #28238: Add filter to value returned from get_space_used()

WordPress Trac noreply at wordpress.org
Fri May 30 20:06:50 UTC 2014


#28238: Add filter to value returned from get_space_used()
---------------------------+------------------------------
 Reporter:  hereswhatidid  |       Owner:
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Upload         |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:  multisite
---------------------------+------------------------------
Changes (by DrewAPicture):

 * keywords:   => has-patch


Comment:

 The hook docs in [attachment:getspaceusedfilter.diff] look ok, except that
 the `@since` should be 4.0.0 now.

 Seems a bit overkill to have two filters in such a small function. Perhaps
 we could accomplish both goals and keep only a single filter -- might be
 worth looking at.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28238#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list