WordPress.org

Make WordPress Core

Ticket #8383: 8383-2.patch

File 8383-2.patch, 4.2 KB (added by johnbillion, 9 years ago)

Some more code classes

  • wp-admin/edit-form-comment.php

     
    113113                } else {
    114114                        _e( 'URL:' );
    115115                } ?></td>
    116         <td><input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" value="<?php echo $url; ?>" tabindex="3" /></td>
     116        <td><input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" class="code" value="<?php echo $url; ?>" tabindex="3" /></td>
    117117</tr>
    118118</tbody>
    119119</table>
  • wp-admin/edit-link-form.php

     
    305305<table class="form-table" style="width: 100%;" cellspacing="2" cellpadding="5">
    306306        <tr class="form-field">
    307307                <th valign="top"  scope="row"><label for="link_image"><?php _e('Image Address') ?></label></th>
    308                 <td><input type="text" name="link_image" id="link_image" size="50" value="<?php echo ( isset( $link->link_image ) ? $link->link_image : ''); ?>" style="width: 95%" /></td>
     308                <td><input type="text" name="link_image" class="code" id="link_image" size="50" value="<?php echo ( isset( $link->link_image ) ? $link->link_image : ''); ?>" style="width: 95%" /></td>
    309309        </tr>
    310310        <tr class="form-field">
    311311                <th valign="top"  scope="row"><label for="rss_uri"><?php _e('RSS Address') ?></label></th>
    312                 <td><input name="link_rss" type="text" id="rss_uri" value="<?php echo  ( isset( $link->link_rss ) ? $link->link_rss : ''); ?>" size="50" style="width: 95%" /></td>
     312                <td><input name="link_rss" class="code" type="text" id="rss_uri" value="<?php echo  ( isset( $link->link_rss ) ? $link->link_rss : ''); ?>" size="50" style="width: 95%" /></td>
    313313        </tr>
    314314        <tr class="form-field">
    315315                <th valign="top"  scope="row"><label for="link_notes"><?php _e('Notes') ?></label></th>
     
    382382<div id="addressdiv" class="stuffbox">
    383383<h3><label for="link_url"><?php _e('Web Address') ?></label></h3>
    384384<div class="inside">
    385         <input type="text" name="link_url" size="30" tabindex="1" value="<?php echo $link->link_url; ?>" id="link_url" />
     385        <input type="text" name="link_url" size="30" class="code" tabindex="1" value="<?php echo $link->link_url; ?>" id="link_url" />
    386386    <p><?php _e('Example: <code>http://wordpress.org/</code> &#8212; don&#8217;t forget the <code>http://</code>'); ?></p>
    387387</div>
    388388</div>
  • wp-admin/import/opml.php

     
    4242<input type="hidden" name="MAX_FILE_SIZE" value="30000" />
    4343<div style="width: 48%;" class="alignleft">
    4444<h3><label for="opml_url"><?php _e('Specify an OPML URL:'); ?></label></h3>
    45 <input type="text" name="opml_url" id="opml_url" size="50" style="width: 90%;" value="http://" />
     45<input type="text" name="opml_url" id="opml_url" size="50" class="code" style="width: 90%;" value="http://" />
    4646</div>
    4747
    4848<div style="width: 48%;" class="alignleft">
  • wp-admin/user-edit.php

     
    313313
    314314<tr>
    315315        <th><label for="url"><?php _e('Website') ?></label></th>
    316         <td><input type="text" name="url" id="url" value="<?php echo $profileuser->user_url ?>" class="regular-text" /></td>
     316        <td><input type="text" name="url" id="url" value="<?php echo $profileuser->user_url ?>" class="regular-text code" /></td>
    317317</tr>
    318318
    319319<tr>
  • wp-admin/user-new.php

     
    107107        </tr>
    108108        <tr class="form-field">
    109109                <th scope="row"><label for="url"><?php _e('Website') ?></label></th>
    110                 <td><input name="url" type="text" id="url" value="<?php echo $new_user_uri; ?>" /></td>
     110                <td><input name="url" type="text" id="url" class="code" value="<?php echo $new_user_uri; ?>" /></td>
    111111        </tr>
    112112
    113113<?php if ( apply_filters('show_password_fields', true) ) : ?>