Changeset 25670
- Timestamp:
- 10/02/2013 09:10:24 PM (11 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-link-form.php
r25616 r25670 83 83 <h3><label for="link_name"><?php _ex('Name', 'link name') ?></label></h3> 84 84 <div class="inside"> 85 <input type="text" name="link_name" size="30" value="<?php echo esc_attr($link->link_name); ?>" id="link_name" />85 <input type="text" name="link_name" size="30" maxlength="255" value="<?php echo esc_attr($link->link_name); ?>" id="link_name" /> 86 86 <p><?php _e('Example: Nifty blogging software'); ?></p> 87 87 </div> … … 91 91 <h3><label for="link_url"><?php _e('Web Address') ?></label></h3> 92 92 <div class="inside"> 93 <input type="text" name="link_url" size="30" class="code" value="<?php echo esc_attr($link->link_url); ?>" id="link_url" />93 <input type="text" name="link_url" size="30" maxlength="255" class="code" value="<?php echo esc_attr($link->link_url); ?>" id="link_url" /> 94 94 <p><?php _e('Example: <code>http://wordpress.org/</code> — don’t forget the <code>http://</code>'); ?></p> 95 95 </div> … … 99 99 <h3><label for="link_description"><?php _e('Description') ?></label></h3> 100 100 <div class="inside"> 101 <input type="text" name="link_description" size="30" value="<?php echo isset($link->link_description) ? esc_attr($link->link_description) : ''; ?>" id="link_description" />101 <input type="text" name="link_description" size="30" maxlength="255" value="<?php echo isset($link->link_description) ? esc_attr($link->link_description) : ''; ?>" id="link_description" /> 102 102 <p><?php _e('This will be shown when someone hovers over the link in the blogroll, or optionally below the link.'); ?></p> 103 103 </div> -
trunk/src/wp-admin/includes/meta-boxes.php
r25591 r25670 963 963 <tr> 964 964 <th scope="row"><label for="link_image"><?php _e('Image Address') ?></label></th> 965 <td><input type="text" name="link_image" class="code" id="link_image" value="<?php echo ( isset( $link->link_image ) ? esc_attr($link->link_image) : ''); ?>" /></td>965 <td><input type="text" name="link_image" class="code" id="link_image" maxlength="255" value="<?php echo ( isset( $link->link_image ) ? esc_attr($link->link_image) : ''); ?>" /></td> 966 966 </tr> 967 967 <tr> 968 968 <th scope="row"><label for="rss_uri"><?php _e('RSS Address') ?></label></th> 969 <td><input name="link_rss" class="code" type="text" id="rss_uri" value="<?php echo ( isset( $link->link_rss ) ? esc_attr($link->link_rss) : ''); ?>" /></td>969 <td><input name="link_rss" class="code" type="text" id="rss_uri" maxlength="255" value="<?php echo ( isset( $link->link_rss ) ? esc_attr($link->link_rss) : ''); ?>" /></td> 970 970 </tr> 971 971 <tr>
Note: See TracChangeset
for help on using the changeset viewer.