Ticket #17296: 17296.diff
| File 17296.diff, 3.4 KB (added by solarissmoke, 2 years ago) |
|---|
-
wp-admin/includes/meta-boxes.php
875 875 <table class="form-table" style="width: 100%;" cellspacing="2" cellpadding="5"> 876 876 <tr class="form-field"> 877 877 <th valign="top" scope="row"><label for="link_image"><?php _e('Image Address') ?></label></th> 878 <td><input type="text" name="link_image" class="code" id="link_image" size="50" value="<?php echo ( isset( $link->link_image ) ? esc_attr($link->link_image) : ''); ?>" style="width: 95%" /></td>878 <td><input type="text" name="link_image" class="code" id="link_image" size="50" maxlength="255" value="<?php echo ( isset( $link->link_image ) ? esc_attr($link->link_image) : ''); ?>" style="width: 95%" /></td> 879 879 </tr> 880 880 <tr class="form-field"> 881 881 <th valign="top" scope="row"><label for="rss_uri"><?php _e('RSS Address') ?></label></th> 882 <td><input name="link_rss" class="code" type="text" id="rss_uri" value="<?php echo ( isset( $link->link_rss ) ? esc_attr($link->link_rss) : ''); ?>" size="50" style="width: 95%" /></td>882 <td><input name="link_rss" class="code" type="text" id="rss_uri" value="<?php echo ( isset( $link->link_rss ) ? esc_attr($link->link_rss) : ''); ?>" size="50" maxlength="255" style="width: 95%" /></td> 883 883 </tr> 884 884 <tr class="form-field"> 885 885 <th valign="top" scope="row"><label for="link_notes"><?php _e('Notes') ?></label></th> -
wp-admin/edit-link-form.php
85 85 <div id="namediv" class="stuffbox"> 86 86 <h3><label for="link_name"><?php _e('Name') ?></label></h3> 87 87 <div class="inside"> 88 <input type="text" name="link_name" size="30" tabindex="1" value="<?php echo esc_attr($link->link_name); ?>" id="link_name" />88 <input type="text" name="link_name" size="30" maxlength="255" tabindex="1" value="<?php echo esc_attr($link->link_name); ?>" id="link_name" /> 89 89 <p><?php _e('Example: Nifty blogging software'); ?></p> 90 90 </div> 91 91 </div> … … 93 93 <div id="addressdiv" class="stuffbox"> 94 94 <h3><label for="link_url"><?php _e('Web Address') ?></label></h3> 95 95 <div class="inside"> 96 <input type="text" name="link_url" size="30" class="code" tabindex="1" value="<?php echo esc_attr($link->link_url); ?>" id="link_url" />96 <input type="text" name="link_url" size="30" maxlength="255" class="code" tabindex="1" value="<?php echo esc_attr($link->link_url); ?>" id="link_url" /> 97 97 <p><?php _e('Example: <code>http://wordpress.org/</code> — don’t forget the <code>http://</code>'); ?></p> 98 98 </div> 99 99 </div> … … 101 101 <div id="descriptiondiv" class="stuffbox"> 102 102 <h3><label for="link_description"><?php _e('Description') ?></label></h3> 103 103 <div class="inside"> 104 <input type="text" name="link_description" size="30" tabindex="1" value="<?php echo isset($link->link_description) ? esc_attr($link->link_description) : ''; ?>" id="link_description" />104 <input type="text" name="link_description" size="30" maxlength="255" tabindex="1" value="<?php echo isset($link->link_description) ? esc_attr($link->link_description) : ''; ?>" id="link_description" /> 105 105 <p><?php _e('This will be shown when someone hovers over the link in the blogroll, or optionally below the link.'); ?></p> 106 106 </div> 107 107 </div>
