[wp-trac] [WordPress Trac] #51525: Add new functions apply_filters_single_type() and apply_filters_ref_array_single_type()

WordPress Trac noreply at wordpress.org
Wed Jan 27 20:42:35 UTC 2021


#51525: Add new functions apply_filters_single_type() and
apply_filters_ref_array_single_type()
------------------------------------------------+--------------------------
 Reporter:  jrf                                 |       Owner:  (none)
     Type:  feature request                     |      Status:  new
 Priority:  normal                              |   Milestone:  Future
                                                |  Release
Component:  General                             |     Version:
 Severity:  normal                              |  Resolution:
 Keywords:  2nd-opinion needs-patch php8 early  |     Focuses:
------------------------------------------------+--------------------------

Comment (by audrasjb):

 The approach proposed by @hellofromTonya makes sense to me.

 1. Start with single type filtering.
 2. Add a lot of unit tests for this single type.
 3. Then create/update roadmap for the future steps to add more types.
 4. Repeat.

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


More information about the wp-trac mailing list