[wpmu-trac] Re: [WordPress MU Trac] #600: Problems with custom first post on a new blog

WordPress MU Trac wpmu-trac at lists.automattic.com
Mon Apr 28 18:44:58 GMT 2008


#600: Problems with custom  first post on a new blog
------------------------+---------------------------------------------------
 Reporter:  Miliio      |        Owner:  donncha 
     Type:  defect      |       Status:  assigned
 Priority:  high        |    Milestone:          
Component:  component1  |      Version:          
 Severity:  normal      |   Resolution:          
 Keywords:              |  
------------------------+---------------------------------------------------
Comment (by Miliio):

 I did some more testing by hacking the get_site_option function.

 $value = $wpdb->get_var("SELECT meta_value FROM $wpdb->sitemeta WHERE
 meta_key = '$safe_key' AND site_id = '{$wpdb->siteid}'");

 It works when I delete AND site_id = '{$wpdb->siteid}' in the value query.
 Somehow $wpdb->siteid is not set...

 I'm not having a cache plugin at the moment.

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


More information about the wpmu-trac mailing list