WordPress.org

Make WordPress Core

Ticket #8383: remove-code-class.diff

File remove-code-class.diff, 6.4 KB (added by ydekproductions, 5 years ago)
  • wp-admin/options-general.php

     
    6767</tr> 
    6868<tr valign="top"> 
    6969<th scope="row"><label for="siteurl"><?php _e('WordPress address (URL)') ?></label></th> 
    70 <td><input name="siteurl" type="text" id="siteurl" value="<?php form_option('siteurl'); ?>" class="regular-text code<?php if ( defined( 'WP_SITEURL' ) ) : ?> disabled" disabled="disabled"<?php else: ?>"<?php endif; ?> /></td> 
     70<td><input name="siteurl" type="text" id="siteurl" value="<?php form_option('siteurl'); ?>" class="regular-text<?php if ( defined( 'WP_SITEURL' ) ) : ?> disabled" disabled="disabled"<?php else: ?>"<?php endif; ?> /></td> 
    7171</tr> 
    7272<tr valign="top"> 
    7373<th scope="row"><label for="home"><?php _e('Blog address (URL)') ?></label></th> 
    74 <td><input name="home" type="text" id="home" value="<?php form_option('home'); ?>" class="regular-text code<?php if ( defined( 'WP_HOME' ) ) : ?> disabled" disabled="disabled"<?php else: ?>"<?php endif; ?> /> 
     74<td><input name="home" type="text" id="home" value="<?php form_option('home'); ?>" class="regular-text<?php if ( defined( 'WP_HOME' ) ) : ?> disabled" disabled="disabled"<?php else: ?>"<?php endif; ?> /> 
    7575<span class="setting-description"><?php _e('Enter the address here if you want your blog homepage <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">to be different from the directory</a> you installed WordPress.'); ?></span></td> 
    7676</tr> 
    7777<tr valign="top"> 
    7878<th scope="row"><label for="admin_email"><?php _e('E-mail address') ?> </label></th> 
    79 <td><input name="admin_email" type="text" id="admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text code" /> 
     79<td><input name="admin_email" type="text" id="admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text" /> 
    8080<span class="setting-description"><?php _e('This address is used for admin purposes, like new user notification.') ?></span></td> 
    8181</tr> 
    8282<tr valign="top"> 
  • wp-admin/options-misc.php

     
    2929<table class="form-table"> 
    3030<tr valign="top"> 
    3131<th scope="row"><label for="upload_path"><?php _e('Store uploads in this folder'); ?></label></th> 
    32 <td><input name="upload_path" type="text" id="upload_path" value="<?php echo attribute_escape(str_replace(ABSPATH, '', get_option('upload_path'))); ?>" class="regular-text code" /> 
     32<td><input name="upload_path" type="text" id="upload_path" value="<?php echo attribute_escape(str_replace(ABSPATH, '', get_option('upload_path'))); ?>" class="regular-text" /> 
    3333<span class="setting-description"><?php _e('Default is <code>wp-content/uploads</code>'); ?></span> 
    3434</td> 
    3535</tr> 
    3636 
    3737<tr valign="top"> 
    3838<th scope="row"><label for="upload_url_path"><?php _e('Full URL path to files'); ?></label></th> 
    39 <td><input name="upload_url_path" type="text" id="upload_url_path" value="<?php echo attribute_escape( get_option('upload_url_path')); ?>" class="regular-text code" /> 
     39<td><input name="upload_url_path" type="text" id="upload_url_path" value="<?php echo attribute_escape( get_option('upload_url_path')); ?>" class="regular-text" /> 
    4040<span class="setting-description"><?php _e('Configuring this is optional by default it should be blank'); ?></span> 
    4141</td> 
    4242</tr> 
  • wp-admin/options-discussion.php

     
    131131 
    132132<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> 
    133133<p> 
    134 <textarea name="moderation_keys" rows="10" cols="50" id="moderation_keys" class="large-text code"><?php form_option('moderation_keys'); ?></textarea> 
     134<textarea name="moderation_keys" rows="10" cols="50" id="moderation_keys" class="large-text"><?php form_option('moderation_keys'); ?></textarea> 
    135135</p> 
    136136</fieldset></td> 
    137137</tr> 
     
    140140<td><fieldset><legend class="hidden"><?php _e('Comment Blacklist') ?></legend> 
    141141<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> 
    142142<p> 
    143 <textarea name="blacklist_keys" rows="10" cols="50" id="blacklist_keys" class="large-text code"><?php form_option('blacklist_keys'); ?></textarea> 
     143<textarea name="blacklist_keys" rows="10" cols="50" id="blacklist_keys" class="large-text"><?php form_option('blacklist_keys'); ?></textarea> 
    144144</p> 
    145145</fieldset></td> 
    146146</tr> 
  • wp-admin/options-permalink.php

     
    173173                        </label> 
    174174                </th> 
    175175                <td> 
    176                         <input name="permalink_structure" id="permalink_structure" type="text" value="<?php echo attribute_escape($permalink_structure); ?>" class="regular-text code" /> 
     176                        <input name="permalink_structure" id="permalink_structure" type="text" value="<?php echo attribute_escape($permalink_structure); ?>" class="regular-text" /> 
    177177                </td> 
    178178        </tr> 
    179179</table> 
     
    188188<table class="form-table"> 
    189189        <tr> 
    190190                <th><label for="category_base"><?php _e('Category base'); ?></label></th> 
    191                 <td><input name="category_base" id="category_base" type="text" value="<?php echo attribute_escape($category_base); ?>" class="regular-text code" /></td> 
     191                <td><input name="category_base" id="category_base" type="text" value="<?php echo attribute_escape($category_base); ?>" class="regular-text" /></td> 
    192192        </tr> 
    193193        <tr> 
    194194                <th><label for="tag_base"><?php _e('Tag base'); ?></label></th> 
    195                 <td><input name="tag_base" id="tag_base" type="text" value="<?php echo attribute_escape($tag_base); ?>" class="regular-text code" /></td> 
     195                <td><input name="tag_base" id="tag_base" type="text" value="<?php echo attribute_escape($tag_base); ?>" class="regular-text" /></td> 
    196196        </tr> 
    197197        <?php do_settings_fields('permalink', 'optional'); ?> 
    198198</table>