WordPress.org

Make WordPress Core

Ticket #8026: 8026.patch

File 8026.patch, 3.6 KB (added by Viper007Bond, 5 years ago)
  • wp-admin/includes/post.php

     
    11721172        $mce_options = rtrim( trim($mce_options), '\n\r,' ); ?> 
    11731173 
    11741174<script type="text/javascript"> 
     1175/* <![CDATA[ */ 
    11751176 
    11761177tinyMCEPreInit = { 
    11771178        base : "<?php echo $baseurl; ?>", 
     
    12021203                sl.markDone(url + '/langs/' + lang + '_dlg.js'); 
    12031204        } 
    12041205}; 
     1206 
     1207/* ]]> */ 
    12051208</script> 
    12061209<script type="text/javascript" src="<?php echo $baseurl; ?>/tiny_mce.js?ver=<?php echo $ver; ?>"></script> 
    12071210<?php if ( 'en' == $language ) { ?> 
  • wp-admin/options-discussion.php

     
    7878<input name="page_comments" type="checkbox" id="page_comments" value="1" <?php checked('1', get_option('page_comments')); ?> /> 
    7979<?php 
    8080 
    81 $default_comments_page = '</label><select name="default_comments_page" id="default_comments_page"><option value="newest"'; 
     81$default_comments_page = '</label><label for="default_comments_page"><select name="default_comments_page" id="default_comments_page"><option value="newest"'; 
    8282if ( 'newest' == get_option('default_comments_page') ) $default_comments_page .= ' selected="selected"'; 
    8383$default_comments_page .= '>' . __('last') . '</option><option value="oldest"'; 
    8484if ( 'oldest' == get_option('default_comments_page') ) $default_comments_page .= ' selected="selected"'; 
    8585$default_comments_page .= '>' . __('first') . '</option></select>'; 
    8686 
    87 printf( __('Break comments into pages with %1$s comments per page and the %2$s page displayed by default'), '</label><input name="comments_per_page" type="text" id="comments_per_page" value="' . attribute_escape(get_option('comments_per_page')) . '" class="small-text" />', $default_comments_page ); 
     87printf( __('Break comments into pages with %1$s comments per page and the %2$s page displayed by default'), '</label><label for="comments_per_page"><input name="comments_per_page" type="text" id="comments_per_page" value="' . attribute_escape(get_option('comments_per_page')) . '" class="small-text" />', $default_comments_page ); 
    8888 
    89 ?> 
     89?></label> 
    9090<br /> 
    9191<label for="comment_order"><?php 
    9292 
     
    130130 
    131131<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> 
    132132<p> 
    133 <textarea name="moderation_keys" rows="10" id="moderation_keys" class="large-text code"><?php form_option('moderation_keys'); ?></textarea> 
     133<textarea name="moderation_keys" rows="10" cols="50" id="moderation_keys" class="large-text code"><?php form_option('moderation_keys'); ?></textarea> 
    134134</p> 
    135135</fieldset></td> 
    136136</tr> 
     
    139139<td><fieldset><legend class="hidden"><?php _e('Comment Blacklist') ?></legend> 
    140140<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> 
    141141<p> 
    142 <textarea name="blacklist_keys" rows="10" id="blacklist_keys" class="large-text code"><?php form_option('blacklist_keys'); ?></textarea> 
     142<textarea name="blacklist_keys" rows="10" cols="50" id="blacklist_keys" class="large-text code"><?php form_option('blacklist_keys'); ?></textarea> 
    143143</p> 
    144144</fieldset></td> 
    145145</tr>