Make WordPress Core


Ignore:
Timestamp:
06/03/2009 11:50:06 AM (17 years ago)
Author:
azaozz
Message:

Add .description html class to edit-category-form.php and edit-tag-form.php, props Simek, fixes #9845

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-tag-form.php

    r11380 r11511  
    2828                        <th scope="row" valign="top"><label for="name"><?php _e('Tag name') ?></label></th>
    2929                        <td><input name="name" id="name" type="text" value="<?php if ( isset( $tag->name ) ) echo esc_attr($tag->name); ?>" size="40" aria-required="true" />
    30             <p><?php _e('The name is how the tag appears on your site.'); ?></p></td>
     30            <p class="description"><?php _e('The name is how the tag appears on your site.'); ?></p></td>
    3131                </tr>
    3232                <tr class="form-field">
    3333                        <th scope="row" valign="top"><label for="slug"><?php _e('Tag slug') ?></label></th>
    3434                        <td><input name="slug" id="slug" type="text" value="<?php if ( isset( $tag->slug ) ) echo esc_attr(apply_filters('editable_slug', $tag->slug)); ?>" size="40" />
    35             <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></td>
     35            <p class="description"><?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></td>
    3636                </tr>
    3737                <tr class="form-field">
    3838                        <th scope="row" valign="top"><label for="description"><?php _e('Description') ?></label></th>
    3939                        <td><textarea name="description" id="description" rows="5" cols="50" style="width: 97%;"><?php echo esc_html($tag->description); ?></textarea><br />
    40             <?php _e('The description is not prominent by default, however some themes may show it.'); ?></td>
     40            <span class="description"><?php _e('The description is not prominent by default, however some themes may show it.'); ?></span></td>
    4141                </tr>
    4242        </table>
Note: See TracChangeset for help on using the changeset viewer.