[wpmu-trac] [WordPress MU Trac] #449: regarding to the new blog
option field. "get_option("blog_upload_space");
" in the new fuction get_space_allowed()
WordPress MU Trac
wpmu-trac at lists.automattic.com
Tue Oct 16 22:24:52 GMT 2007
#449: regarding to the new blog option field. "get_option("blog_upload_space");"
in the new fuction get_space_allowed()
------------------------+---------------------------------------------------
Reporter: ktlee | Owner: somebody
Type: defect | Status: new
Priority: high | Milestone: WPMU 2.0
Component: component1 | Version: 2.0
Severity: major | Keywords: quota, get_space_allowed
------------------------+---------------------------------------------------
regarding to the new blog option field. "get_option("blog_upload_space");"
You might want to updates function which checks the upload file size in
the /wp-include/wpmu-function.php
Right now, the upload quota checking is reflect to the global upload quota
not the individual upload quota.
line 1607
{{{
$spaceAllowed = get_site_option("blog_upload_space");
}}}
to
{{{
$spaceAllowed = get_space_allowed();
}}}
also,
get_space_allowed() must work with a plugin that provide a visual look to
editing the fields, since by default the option is not created. I rewrite
the z-space plugin to achieves this
Here is what it does:
- Add upload_blog_space field to "Misc Blog Actions" under editing
individual blogs.
- Display blog Quota under Dashboard
- List individual blog quota under Site Admin->Blogs
This is a cross posting from forum.
http://mu.wordpress.org/forums/topic.php?id=6519&page&replies=10
Cheers,
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/449>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list