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

WordPress Trac noreply at wordpress.org
Fri Aug 12 12:09:24 UTC 2022


#54394: Add functions for required fields indicator and message
-------------------------------------------------+-------------------------
 Reporter:  sabernhardt                          |       Owner:  audrasjb
     Type:  feature request                      |      Status:  closed
 Priority:  normal                               |   Milestone:  6.1
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch required-fields early      |     Focuses:
  commit                                         |  accessibility
-------------------------------------------------+-------------------------
Changes (by audrasjb):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"53888" 53888]:
 {{{
 #!CommitTicketReference repository="" revision="53888"
 General: Add required fields helper functions for better reusability.

 This changeset introduces new `wp_required_field_indicator()` and
 `wp_required_field_message()` helper functions to generate reusable and
 consistent required field indicator and message. It also implements these
 functions in various admin screens.

 Props sabernhardt, ryokuhi, joedolson, audrasjb, SergeyBiryukov.
 Fixes #54394.
 }}}

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


More information about the wp-trac mailing list