hide Update Service option and display a friendly note when Privacy is turned on. Props mdawaffe for finding the culprit. fixes #3203

git-svn-id: https://develop.svn.wordpress.org/trunk@4326 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2006-10-04 10:27:53 +00:00
parent 81bb761e4d
commit 39c5fabde5
1 changed files with 10 additions and 0 deletions

View File

@ -97,9 +97,19 @@ endforeach;
<fieldset class="options">
<legend><?php _e('Update Services') ?></legend>
<?php if ( get_option('blog_public') ) : ?>
<p><?php _e('When you publish a new post, WordPress automatically notifies the following site update services. For more about this, see <a href="http://codex.wordpress.org/Update_Services">Update Services</a> on the Codex. Separate multiple service <abbr title="Universal Resource Locator">URL</abbr>s with line breaks.') ?></p>
<textarea name="ping_sites" id="ping_sites" style="width: 98%;" rows="3" cols="50"><?php form_option('ping_sites'); ?></textarea>
<?php else : ?>
<p><?php print_f(__('WordPress is not notifying any <a href="http://codex.wordpress.org/Update_Services">Update Services</a> because of your blog\'s <a href="%s">privacy settings</a>'), 'options-privacy.php'); ?>
<?php endif; ?>
</fieldset>
<p class="submit">