Make WordPress Core

Changeset 4326


Ignore:
Timestamp:
10/04/2006 10:27:53 AM (18 years ago)
Author:
markjaquith
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-writing.php

    r4196 r4326  
    9898<fieldset class="options">
    9999<legend><?php _e('Update Services') ?></legend>
     100
     101<?php if ( get_option('blog_public') ) : ?>
     102
    100103<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>
    101104
    102105<textarea name="ping_sites" id="ping_sites" style="width: 98%;" rows="3" cols="50"><?php form_option('ping_sites'); ?></textarea>
     106
     107<?php else : ?>
     108
     109    <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'); ?>
     110
     111<?php endif; ?>
     112
    103113</fieldset>
    104114
Note: See TracChangeset for help on using the changeset viewer.