[wpmu-trac] [WordPress MU Trac] #1182: blog_id is set to 0 in wp_x_options?
WordPress MU Trac
wpmu-trac at lists.automattic.com
Fri Dec 18 23:40:49 UTC 2009
#1182: blog_id is set to 0 in wp_x_options?
------------------------+---------------------------------------------------
Reporter: ancawonka | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone:
Component: component1 | Version:
Severity: normal | Keywords:
------------------------+---------------------------------------------------
Comment(by jamescollins):
Replying to [comment:2 DeannaS]:
> Ideally, for WPMU (or when they merge) I think the blog name should be
copied to the wp_blogs table. I think this is one of the major drawbacks
to the current database design. If that's not in the cards for the merge,
perhaps we could work on a patch that would do that. Thoughts?
I agree Deanna. The blog's domain/path and blogname are commonly required
attributes.
We'd need to add a new column to the wp_blogs table (eg wp_blogs.name) and
set the value of this new field based on each blog's blogname option. We
could then hook into the {{{update_option_blogname}}} hook so that
whenever the blogname is changed, we can update the wp_blogs field as
well.
I think this could probably be implemented in time for WPMU 2.9. It
doesn't have to be done as part of the merge.
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/1182#comment:3>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list