[wp-trac] [WordPress Trac] #14227: wp_login_form remember input / label mixed
WordPress Trac
wp-trac at lists.automattic.com
Wed Jul 7 14:14:57 UTC 2010
#14227: wp_login_form remember input / label mixed
--------------------------+-------------------------------------------------
Reporter: chocks | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 3.0
Severity: normal | Keywords: wp_login_form
--------------------------+-------------------------------------------------
On wp-includes/general-template.php line 284 it says:
' . ( $args['remember'] ? '<p class="login-remember"><label><input
name="rememberme" type="checkbox" id="' . esc_attr( $args['id_remember'] )
. '" value="forever" tabindex="90"' . ( $args['value_remember'] ? '
checked="checked"' : '' ) . ' /> ' . esc_html( $args['label_remember'] ) .
'</label></p>' : '' ) . '
Should be:
' . ( $args['remember'] ? '<p class="login-remember"><label>' . esc_html(
$args['label_remember'] ) . '</label><input name="rememberme"
type="checkbox" id="' . esc_attr( $args['id_remember'] ) . '"
value="forever" tabindex="90"' . ( $args['value_remember'] ? '
checked="checked"' : '' ) . ' />
</p>' : '' ) . '
Where <p><label>$labelname</label> and <input /></p>
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14227>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list