Change form field ID's to prevent ID clashes with listing table column headers. See #11937

git-svn-id: http://svn.automattic.com/wordpress/trunk@13852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
dd32 2010-03-28 01:42:34 +00:00
parent 8f30ffcb9e
commit 8c6fb6f8ec
2 changed files with 7 additions and 7 deletions

View File

@ -198,18 +198,18 @@ if ( $page_links )
<div class="form-field form-required">
<label for="name"><?php _e('Link Category name') ?></label>
<input name="name" id="name" type="text" value="" size="40" aria-required="true" />
<input name="name" id="link-name" type="text" value="" size="40" aria-required="true" />
</div>
<?php if ( !global_terms_enabled() ) { ?>
<div class="form-field">
<label for="slug"><?php _e('Link Category slug') ?></label>
<input name="slug" id="slug" type="text" value="" size="40" />
<input name="slug" id="link-slug" type="text" value="" size="40" />
<p><?php _e('The &#8220;slug&#8221; is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></p>
</div>
<?php } ?>
<div class="form-field">
<label for="description"><?php _e('Description (optional)') ?></label>
<textarea name="description" id="description" rows="5" cols="40"></textarea>
<textarea name="description" id="link-description" rows="5" cols="40"></textarea>
<p><?php _e('The description is not prominent by default; however, some themes may show it.'); ?></p>
</div>

View File

@ -354,8 +354,8 @@ if ( current_user_can($tax->edit_cap) ) {
</div>
<?php if ( !is_multisite() ) : ?>
<div class="form-field">
<label for="slug"><?php echo _x('Slug', 'Taxonomy Slug'); ?></label>
<input name="slug" id="slug" type="text" value="" size="40" />
<label for="tag-slug"><?php echo _x('Slug', 'Taxonomy Slug'); ?></label>
<input name="slug" id="tag-slug" type="text" value="" size="40" />
<p><?php _e('The &#8220;slug&#8221; is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></p>
</div>
<?php endif; // is_multisite() ?>
@ -369,8 +369,8 @@ if ( current_user_can($tax->edit_cap) ) {
</div>
<?php endif; // is_taxonomy_hierarchical() ?>
<div class="form-field">
<label for="description"><?php echo _x('Description', 'Taxonomy Description'); ?></label>
<textarea name="description" id="description" rows="5" cols="40"></textarea>
<label for="tag-description"><?php echo _x('Description', 'Taxonomy Description'); ?></label>
<textarea name="description" id="tag-description" rows="5" cols="40"></textarea>
<p><?php _e('The description is not prominent by default; however, some themes may show it.'); ?></p>
</div>