[wpmu-trac] [WordPress MU Trac] #920: "home" option bug in
wpmu-edit.php
WordPress MU Trac
wpmu-trac at lists.automattic.com
Sun Mar 1 09:19:02 GMT 2009
#920: "home" option bug in wpmu-edit.php
----------------------------+-----------------------------------------------
Reporter: beaulebens | Owner: somebody
Type: defect | Status: new
Priority: high | Milestone:
Component: Administration | Version:
Severity: major | Keywords: has-patch
----------------------------+-----------------------------------------------
I'm running WPMU in a subdirectory, using subdomain mode. Under that
configuration I have the domain set to the domain name (obviously), and
the path set to "/wpmu/" (since that's where the actual WPMU files are
located.
If I go to Site Admin > Blogs and click the name of a blog to edit it
(which takes me to wpmu-blogs.php), then I can access all the options for
that blog, including the domain and path. The problem here is that when
you submit/save that page, it *always* resets your "home" option for that
blog. There's no real need to automatically reset it, since I can just
scroll down and change it if I want, and with this configuration it
actually breaks things because of the update.
Before Update:
{{{
siteurl = 'http://example.com/wpmu/'
home = 'http://example.com'
domain = 'example.com'
path = '/wpmu/
}}}
After Update (even without changing a single thing on that page):
{{{
siteurl = 'http://example.com/wpmu/'
home = 'http://example.com/wpmu/'
domain = 'example.com'
path = '/wpmu/
}}}
Hope this makes sense. I've attached a patch that just removes the
automated re-setting of 'home'. I can't believe no-one else has had this
problem before, unless I'm just running WPMU in a *really* weird
configuration :)
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/920>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list