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:
parent
cf9c66c4a5
commit
0ecd82b142
|
@ -114,7 +114,7 @@ wp_dropdown_categories(array('hide_empty' => 0, 'name' => 'default_email_categor
|
||||||
<?php do_settings_fields('writing', 'post_via_email'); ?>
|
<?php do_settings_fields('writing', 'post_via_email'); ?>
|
||||||
</table>
|
</table>
|
||||||
<?php } ?>
|
<?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>
|
<h3><?php _e('Update Services') ?></h3>
|
||||||
|
|
||||||
<?php if ( get_option('blog_public') ) : ?>
|
<?php if ( get_option('blog_public') ) : ?>
|
||||||
|
|
Loading…
Reference in New Issue