Switch to using a filter for {en|dis}abling update services configuration. Fixes #12229. See #12381.

git-svn-id: https://develop.svn.wordpress.org/trunk@13412 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2010-02-25 21:48:11 +00:00
parent cf9c66c4a5
commit 0ecd82b142
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ wp_dropdown_categories(array('hide_empty' => 0, 'name' => 'default_email_categor
<?php do_settings_fields('writing', 'post_via_email'); ?>
</table>
<?php } ?>
<?php if ( !is_multisite() || ( defined( 'UPDATE_SERVICES' ) && UPDATE_SERVICES ) ) { ?>
<?php if ( apply_filters( 'enable_update_services_configuration', true ) ) { ?>
<h3><?php _e('Update Services') ?></h3>
<?php if ( get_option('blog_public') ) : ?>