WordPress.org

Make WordPress Core

Changeset 21595


Ignore:
Timestamp:
08/23/12 16:04:39 (20 months ago)
Author:
ryan
Message:

Restore blog_option_* filter. see #21459

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/ms-blogs.php

    r21581 r21595  
    339339 
    340340    switch_to_blog( $id ); 
    341     $option = get_option( $option, $default ); 
     341    $value = get_option( $option, $default ); 
    342342    restore_current_blog(); 
    343343 
    344     return $option; 
     344    return apply_filters( 'blog_option_' . $option, $value, $id ); 
    345345} 
    346346 
Note: See TracChangeset for help on using the changeset viewer.