[wp-trac] [WordPress Trac] #56389: Make wp_required_field_indicator and wp_required_field_message filterable

WordPress Trac noreply at wordpress.org
Wed Aug 17 20:06:31 UTC 2022


#56389: Make wp_required_field_indicator and wp_required_field_message filterable
-------------------------------------------------+-------------------------
 Reporter:  kebbet                               |       Owner:  audrasjb
     Type:  enhancement                          |      Status:  reviewing
 Priority:  normal                               |   Milestone:  6.1
Component:  General                              |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-dev-note needs-      |     Focuses:
  design-feedback                                |
-------------------------------------------------+-------------------------
Changes (by costdev):

 * keywords:  has-patch needs-dev-note needs-unit-tests => has-patch needs-
     dev-note needs-design-feedback


Comment:

 @kebbet I've added
 [https://core.trac.wordpress.org/attachment/ticket/56389/56389.tests.diff
 PHPUnit Tests] for these filters (and by extension, the functions
 themselves). Could you add them to [https://github.com/WordPress
 /wordpress-develop/pull/3088 PR 3088]?

 Also, @audrasjb, since these functions weren't previously covered in the
 test suite, if you want me to separate the creation of these test classes
 into separate tickets for history, let me know, and then the tests just
 for these filters can be added via this ticket.

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


More information about the wp-trac mailing list