Make WordPress Core

Changeset 13852


Ignore:
Timestamp:
03/28/2010 01:42:34 AM (14 years ago)
Author:
dd32
Message:

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

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-link-categories.php

    r13770 r13852  
    199199<div class="form-field form-required">
    200200    <label for="name"><?php _e('Link Category name') ?></label>
    201     <input name="name" id="name" type="text" value="" size="40" aria-required="true" />
     201    <input name="name" id="link-name" type="text" value="" size="40" aria-required="true" />
    202202</div>
    203203<?php if ( !global_terms_enabled() ) { ?>
    204204<div class="form-field">
    205205    <label for="slug"><?php _e('Link Category slug') ?></label>
    206     <input name="slug" id="slug" type="text" value="" size="40" />
     206    <input name="slug" id="link-slug" type="text" value="" size="40" />
    207207    <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>
    208208</div>
     
    210210<div class="form-field">
    211211    <label for="description"><?php _e('Description (optional)') ?></label>
    212     <textarea name="description" id="description" rows="5" cols="40"></textarea>
     212    <textarea name="description" id="link-description" rows="5" cols="40"></textarea>
    213213    <p><?php _e('The description is not prominent by default; however, some themes may show it.'); ?></p>
    214214</div>
  • trunk/wp-admin/edit-tags.php

    r13770 r13852  
    355355<?php if ( !is_multisite() ) : ?>
    356356<div class="form-field">
    357     <label for="slug"><?php echo _x('Slug', 'Taxonomy Slug'); ?></label>
    358     <input name="slug" id="slug" type="text" value="" size="40" />
     357    <label for="tag-slug"><?php echo _x('Slug', 'Taxonomy Slug'); ?></label>
     358    <input name="slug" id="tag-slug" type="text" value="" size="40" />
    359359    <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>
    360360</div>
     
    370370<?php endif; // is_taxonomy_hierarchical() ?>
    371371<div class="form-field">
    372     <label for="description"><?php echo _x('Description', 'Taxonomy Description'); ?></label>
    373     <textarea name="description" id="description" rows="5" cols="40"></textarea>
     372    <label for="tag-description"><?php echo _x('Description', 'Taxonomy Description'); ?></label>
     373    <textarea name="description" id="tag-description" rows="5" cols="40"></textarea>
    374374    <p><?php _e('The description is not prominent by default; however, some themes may show it.'); ?></p>
    375375</div>
Note: See TracChangeset for help on using the changeset viewer.