- File:
-
- 1 edited
-
trunk/wp-admin/options-discussion.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options-discussion.php
r15132 r16980 20 20 '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>' . 21 21 '<p><strong>' . __('For more information:') . '</strong></p>' . 22 '<p>' . __('<a href="http://codex.wordpress.org/Settings_Discussion_SubPanel" target="_blank">D iscussion Settings Documentation</a>') . '</p>' .22 '<p>' . __('<a href="http://codex.wordpress.org/Settings_Discussion_SubPanel" target="_blank">Documentation on Discussion Settings</a>') . '</p>' . 23 23 '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>' 24 24 ); … … 61 61 <input name="comment_registration" type="checkbox" id="comment_registration" value="1" <?php checked('1', get_option('comment_registration')); ?> /> 62 62 <?php _e('Users must be registered and logged in to comment') ?> 63 <?php if ( !get_option( 'users_can_register' ) && is_multisite() ) _e( '(Signup has been disabled. Only members of this site can comment.)' ); ?>63 <?php if ( !get_option( 'users_can_register' ) && is_multisite() ) echo ' ' . __( '(Signup has been disabled. Only members of this site can comment.)' ); ?> 64 64 </label> 65 65 <br /> … … 142 142 <p><label for="moderation_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be held in the <a href="edit-comments.php?comment_status=moderated">moderation queue</a>. One word or IP per line. It will match inside words, so “press” will match “WordPress”.') ?></label></p> 143 143 <p> 144 <textarea name="moderation_keys" rows="10" cols="50" id="moderation_keys" class="large-text code"><?php form_option('moderation_keys'); ?></textarea>144 <textarea name="moderation_keys" rows="10" cols="50" id="moderation_keys" class="large-text code"><?php echo esc_textarea( get_option( 'moderation_keys' ) ); ?></textarea> 145 145 </p> 146 146 </fieldset></td> … … 151 151 <p><label for="blacklist_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be marked as spam. One word or IP per line. It will match inside words, so “press” will match “WordPress”.') ?></label></p> 152 152 <p> 153 <textarea name="blacklist_keys" rows="10" cols="50" id="blacklist_keys" class="large-text code"><?php form_option('blacklist_keys'); ?></textarea>153 <textarea name="blacklist_keys" rows="10" cols="50" id="blacklist_keys" class="large-text code"><?php echo esc_textarea( get_option( 'blacklist_keys' ) ); ?></textarea> 154 154 </p> 155 155 </fieldset></td> … … 213 213 'identicon' => __('Identicon (Generated)'), 214 214 'wavatar' => __('Wavatar (Generated)'), 215 'monsterid' => __('MonsterID (Generated)') 215 'monsterid' => __('MonsterID (Generated)'), 216 'retro' => __('Retro (Generated)') 216 217 ); 217 218 $avatar_defaults = apply_filters('avatar_defaults', $avatar_defaults); … … 241 242 <?php do_settings_sections('discussion'); ?> 242 243 243 <p class="submit"> 244 <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" /> 245 </p> 244 <?php submit_button(); ?> 246 245 </form> 247 246 </div>
Note: See TracChangeset
for help on using the changeset viewer.