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

WordPress Trac noreply at wordpress.org
Sat Apr 15 20:08:34 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        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Currently, if someone uses the `wp_login_form()` function in a theme or a
 plugin, and this someone wants to add placeholders to the input fields, he
 can't do that.

 The attached patch adds placeholders to the `wp_login_form()` function
 using two new arguments. To maintain backwards compatibility, the
 placeholders are empty by default.

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


More information about the wp-trac mailing list