[wpmu-trac] [WordPress MU Trac] #224: main blog images deleted when
sub-blog deleted
WordPress MU Trac
wpmu-trac at lists.automattic.com
Tue Jan 16 00:13:41 GMT 2007
#224: main blog images deleted when sub-blog deleted
------------------------+---------------------------------------------------
Reporter: andrea_r | Owner: somebody
Type: defect | Status: new
Priority: high | Milestone:
Component: component1 | Version:
Severity: major | Keywords:
------------------------+---------------------------------------------------
As discussed in this thread:
http://mu.wordpress.org/forums/topic.php?id=2383
it seems that when Admin deletes a blog, the images from the main admin
blog alos gets deleted.
Temporary fix from user arma:
"The problem exists in the admin-db.php file. The var $dir = constant(
"ABSPATH" ) . constant( "UPLOADS" ); sets the wrong directory for
deletion. A temporary fix is to comment out that line and add the line
$dir = constant( "ABSPATH" ) . "wp-content/blogs.dir/" . $blog_id
."/files/"; But this should only be temporary until a final fix is made."
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/224>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list