[wpmu-trac] Re: [WordPress MU Trac] #980: Ambiguous filter in get_blog_option

WordPress MU Trac wpmu-trac at lists.automattic.com
Fri May 15 16:41:04 GMT 2009


#980: Ambiguous filter in get_blog_option
-----------------------+----------------------------------------------------
 Reporter:  cafespain  |        Owner:  donncha 
     Type:  defect     |       Status:  assigned
 Priority:  normal     |    Milestone:          
Component:  General    |      Version:          
 Severity:  normal     |   Resolution:          
 Keywords:             |  
-----------------------+----------------------------------------------------
Changes (by donncha):

  * owner:  somebody => donncha
  * status:  new => assigned

Comment:

 This filter is quite important and it would be a shame to lose it. I see
 two solutions:

  1. Use switch_to_blog() and get_option() directly but this could be very
 slow.
  2. Any option_* filter has to use $wpdb->blogid to figure out the blog.

 Comments?

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


More information about the wpmu-trac mailing list