Make WordPress Core

Changeset 9456


Ignore:
Timestamp:
11/01/2008 05:03:05 AM (15 years ago)
Author:
ryan
Message:

Validation fixes from Viper007Bond. fixes #8026

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/post.php

    r9451 r9456  
    12221222
    12231223<script type="text/javascript">
     1224/* <![CDATA[ */
    12241225
    12251226tinyMCEPreInit = {
     
    12521253    }
    12531254};
     1255
     1256/* ]]> */
    12541257</script>
    12551258<script type="text/javascript" src="<?php echo $baseurl; ?>/tiny_mce.js?ver=<?php echo $ver; ?>"></script>
  • trunk/wp-admin/options-discussion.php

    r9390 r9456  
    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"';
     
    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 );
    88 
    89 ?>
     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 );
     88
     89?></label>
    9090<br />
    9191<label for="comment_order"><?php
     
    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>
     
    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>
Note: See TracChangeset for help on using the changeset viewer.