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: http://svn.automattic.com/wordpress/trunk@4326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2006-10-04 10:27:53 +00:00
parent 357cff9ddc
commit a008bb73ca
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">