[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
Wed Dec 23 11:42:41 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 donncha):

 The blog_id in the options table won't ever change, sorry. That's been in
 there since the earliest days of WordPress and b2 (I think) and should be
 removed if anything.

 I like the idea of putting blogname into wp_blogs but I'm concerned about
 altering that table as it's probably quite a big one on large MU sites.
 Updating it will require a filter on the option in the options table too,
 and plugins would probably have to update the blog option rather than the
 wp_blogs entry to avoid race conditions.

 If we do add blogname to wp_blogs it'll have to be in 3.0, 2.9 will be
 delayed enough by the holidays, I don't want to introduce such a major
 change so soon.

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/1182#comment:5>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list