[wp-trac] [WordPress Trac] #39927: Add support for CSS class and attributes in wp_login_form input fields

WordPress Trac noreply at wordpress.org
Mon Oct 2 12:36:35 UTC 2017


#39927: Add support for CSS class and attributes in wp_login_form input fields
------------------------------------+------------------------------
 Reporter:  subrataemfluence        |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Login and Registration  |     Version:  4.7.2
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch               |     Focuses:  template
------------------------------------+------------------------------

Comment (by subrataemfluence):

 Corrected unterminated strings for `username_css_class` and
 `password_css_class` keys.

 {{{
 $args = array(
   ...
   'placeholder_username' => __('Your login Id'),
   'placeholder_password' => __('Your password (case sensitive)'),
   'username_required' => true,
   'password_required' => true,
   'username_css_class' => 'form_control',
   'password_css_class' => 'form-control'
   'username_remove_size' => true,
   'password_remove_size' => true
 );
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39927#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list