[wp-trac] [WordPress Trac] #40462: Add placeholders to wp_login_form()

WordPress Trac noreply at wordpress.org
Thu Apr 20 09:02:19 UTC 2017


#40462: Add placeholders to wp_login_form()
--------------------------+------------------------------
 Reporter:  ramiy         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  template
--------------------------+------------------------------

Comment (by rel78):

 It can be a great fix for the login form!
 I found myself more than once using JS to modify the form,
 when the client delivered a design for the form with placeholders..

 {{{
 $('#user_login').attr( 'placeholder', 'User Name' );
 $('#user_pass').attr( 'placeholder', 'Password' );
 }}}

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


More information about the wp-trac mailing list