Use a more consistent markup on taxonomy and user screens.
props paulwilde. fixes #29842. Built from https://develop.svn.wordpress.org/trunk@29820 git-svn-id: http://core.svn.wordpress.org/trunk@29586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2dad79f6c5
commit
a47214cfa6
|
@ -114,8 +114,8 @@ do_action( "{$taxonomy}_pre_edit_form", $tag, $taxonomy ); ?>
|
||||||
<?php endif; // is_taxonomy_hierarchical() ?>
|
<?php endif; // is_taxonomy_hierarchical() ?>
|
||||||
<tr class="form-field term-description-wrap">
|
<tr class="form-field term-description-wrap">
|
||||||
<th scope="row"><label for="description"><?php _ex('Description', 'Taxonomy Description'); ?></label></th>
|
<th scope="row"><label for="description"><?php _ex('Description', 'Taxonomy Description'); ?></label></th>
|
||||||
<td><textarea name="description" id="description" rows="5" cols="50" class="large-text"><?php echo $tag->description; // textarea_escaped ?></textarea><br />
|
<td><textarea name="description" id="description" rows="5" cols="50" class="large-text"><?php echo $tag->description; // textarea_escaped ?></textarea>
|
||||||
<span class="description"><?php _e('The description is not prominent by default; however, some themes may show it.'); ?></span></td>
|
<p class="description"><?php _e('The description is not prominent by default; however, some themes may show it.'); ?></p></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
// Back compat hooks
|
// Back compat hooks
|
||||||
|
|
|
@ -446,8 +446,8 @@ if ( is_multisite() && is_network_admin() && ! IS_PROFILE_PAGE && current_user_c
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr class="user-description-wrap">
|
<tr class="user-description-wrap">
|
||||||
<th><label for="description"><?php _e('Biographical Info'); ?></label></th>
|
<th><label for="description"><?php _e('Biographical Info'); ?></label></th>
|
||||||
<td><textarea name="description" id="description" rows="5" cols="30"><?php echo $profileuser->description; // textarea_escaped ?></textarea><br />
|
<td><textarea name="description" id="description" rows="5" cols="30"><?php echo $profileuser->description; // textarea_escaped ?></textarea>
|
||||||
<span class="description"><?php _e('Share a little biographical information to fill out your profile. This may be shown publicly.'); ?></span></td>
|
<p class="description"><?php _e('Share a little biographical information to fill out your profile. This may be shown publicly.'); ?></p></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
@ -459,15 +459,15 @@ if ( $show_password_fields ) :
|
||||||
<th><label for="pass1"><?php _e( 'New Password' ); ?></label></th>
|
<th><label for="pass1"><?php _e( 'New Password' ); ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
<input class="hidden" value=" " /><!-- #24364 workaround -->
|
<input class="hidden" value=" " /><!-- #24364 workaround -->
|
||||||
<input type="password" name="pass1" id="pass1" class="regular-text" size="16" value="" autocomplete="off" /><br />
|
<input type="password" name="pass1" id="pass1" class="regular-text" size="16" value="" autocomplete="off" />
|
||||||
<span class="description"><?php _e( 'If you would like to change the password type a new one. Otherwise leave this blank.' ); ?></span>
|
<p class="description"><?php _e( 'If you would like to change the password type a new one. Otherwise leave this blank.' ); ?></p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="user-pass2-wrap">
|
<tr class="user-pass2-wrap">
|
||||||
<th scope="row"><label for="pass2"><?php _e( 'Repeat New Password' ); ?></label></th>
|
<th scope="row"><label for="pass2"><?php _e( 'Repeat New Password' ); ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
<input name="pass2" type="password" id="pass2" class="regular-text" size="16" value="" autocomplete="off" /><br />
|
<input name="pass2" type="password" id="pass2" class="regular-text" size="16" value="" autocomplete="off" />
|
||||||
<span class="description" for="pass2"><?php _e( 'Type your new password again.' ); ?></span>
|
<p class="description"><?php _e( 'Type your new password again.' ); ?></p>
|
||||||
<br />
|
<br />
|
||||||
<div id="pass-strength-result"><?php _e( 'Strength indicator' ); ?></div>
|
<div id="pass-strength-result"><?php _e( 'Strength indicator' ); ?></div>
|
||||||
<p class="description indicator-hint"><?php _e( 'Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers, and symbols like ! " ? $ % ^ & ).' ); ?></p>
|
<p class="description indicator-hint"><?php _e( 'Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers, and symbols like ! " ? $ % ^ & ).' ); ?></p>
|
||||||
|
|
Loading…
Reference in New Issue