mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Links manager: Restrict field length based on DB schema.
props solarissmoke, vinod-dalvi. fixes #17296, #12264. git-svn-id: https://develop.svn.wordpress.org/trunk@25670 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -962,11 +962,11 @@ function link_advanced_meta_box($link) {
|
||||
<table class="links-table" cellpadding="0">
|
||||
<tr>
|
||||
<th scope="row"><label for="link_image"><?php _e('Image Address') ?></label></th>
|
||||
<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>
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="rss_uri"><?php _e('RSS Address') ?></label></th>
|
||||
<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>
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="link_notes"><?php _e('Notes') ?></label></th>
|
||||
|
||||
Reference in New Issue
Block a user