Changeset 41986 for trunk/src/wp-admin/options-writing.php
- Timestamp:
- 10/24/2017 10:50:40 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/options-writing.php
r41289 r41986 169 169 <?php if ( 1 == get_option('blog_public') ) : ?> 170 170 171 <p><label for="ping_sites"><?php _e( 'When you publish a new post, WordPress automatically notifies the following site update services. For more about this, see <a href="https://codex.wordpress.org/Update_Services">Update Services</a> on the Codex. Separate multiple service URLs with line breaks.' ) ?></label></p> 172 173 <textarea name="ping_sites" id="ping_sites" class="large-text code" rows="3"><?php echo esc_textarea( get_option('ping_sites') ); ?></textarea> 171 <p><label for="ping_sites"><?php 172 printf( 173 /* translators: %s: Codex URL */ 174 __( 'When you publish a new post, WordPress automatically notifies the following site update services. For more about this, see <a href="%s">Update Services</a> on the Codex. Separate multiple service URLs with line breaks.' ), 175 __( 'https://codex.wordpress.org/Update_Services' ) 176 ); 177 ?></label></p> 178 179 <textarea name="ping_sites" id="ping_sites" class="large-text code" rows="3"><?php echo esc_textarea( get_option('ping_sites') ); ?></textarea> 174 180 175 181 <?php else : ?> 176 182 177 <p><?php printf(__('WordPress is not notifying any <a href="https://codex.wordpress.org/Update_Services">Update Services</a> because of your site’s <a href="%s">visibility settings</a>.'), 'options-reading.php'); ?></p> 183 <p><?php 184 printf( 185 /* translators: 1: Codex URL, 2: Reading Settings URL */ 186 __( 'WordPress is not notifying any <a href="%1$s">Update Services</a> because of your site’s <a href="%2$s">visibility settings</a>.' ), 187 __( 'https://codex.wordpress.org/Update_Services' ), 188 'options-reading.php' 189 ); 190 ?></p> 178 191 179 192 <?php endif; ?> 180 <?php } // multisite?>193 <?php } // enable_update_services_configuration ?> 181 194 182 195 <?php do_settings_sections('writing'); ?>
Note: See TracChangeset
for help on using the changeset viewer.