[wp-trac] [WordPress Trac] #54394: Add functions for required fields indicator and message

WordPress Trac noreply at wordpress.org
Tue Nov 9 04:29:59 UTC 2021


#54394: Add functions for required fields indicator and message
---------------------------------------+------------------------------
 Reporter:  sabernhardt                |       Owner:  (none)
     Type:  feature request            |      Status:  new
 Priority:  normal                     |   Milestone:  Awaiting Review
Component:  General                    |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  has-patch required-fields  |     Focuses:  accessibility
---------------------------------------+------------------------------

Comment (by sabernhardt):

 Or these could be two functions, with the `echo` selection as a second
 parameter:
 {{{
 wp_required_field_indicator( $space_before = ' ', $echo = false )
 wp_required_field_message( $space_before = ' ', $echo = false )
 }}}

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


More information about the wp-trac mailing list