Skip to content

Commit db9c7b3

Browse files
supertassuKrinkle
authored andcommitted
filters: Do not set options
These will be set by Puppet.
1 parent 993adbd commit db9c7b3

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

mu-plugins/jquery-filters.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,6 @@
77
if ( defined( 'WP_INSTALLING' ) )
88
return;
99

10-
$options = jquery_default_site_options();
11-
$sites = jquery_sites();
12-
$options = array_merge( $options, $sites[ JQUERY_LIVE_SITE ]['options'] );
13-
foreach ( $options as $option => $value ) {
14-
if ( 'stylesheet' === $option || 'template' === $option )
15-
continue; // Don't mess with themes for now.
16-
add_filter( 'pre_option_' . $option, function( $null ) use ( $value, $blog_id ) {
17-
if ( $blog_id == get_current_blog_id() )
18-
return $value;
19-
return $null;
20-
} );
21-
}
22-
unset( $sites, $options, $option );
23-
2410
// Disable WordPress auto-paragraphing for posts.
2511
remove_filter( 'the_content', 'wpautop' );
2612

0 commit comments

Comments
 (0)