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

WordPress Trac noreply at wordpress.org
Mon Oct 19 13:26:30 UTC 2020


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

Comment (by giuseppe.mazzapica):

 Please also note that, of course, in the real implementation I would not
 expect to call `apply_filters` or this whole thing would make no sense, so
 when you see `apply_filters` in the function above what I mean is ''"Run
 the login that runs the next filter"''.

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


More information about the wp-trac mailing list