[wp-trac] [WordPress Trac] #40280: Short-circuit filters can't return common values

WordPress Trac noreply at wordpress.org
Wed Aug 9 19:48:28 UTC 2017


#40280: Short-circuit filters can't return common values
-------------------------+------------------------------
 Reporter:  andy         |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:  4.8
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------------------

Comment (by spacedmonkey):

 I had a go at implementing this my way. Ended up this something pretty
 similar.
 https://gist.github.com/spacedmonkey/eeeb20e73238d9ef5376db43202f6b41

 Part of the problem is the fact it isn't global I think. Filtered values
 are global for a reason. My implemtention will not work in PHP 5.2 because
 of lack of anonymous functions.

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


More information about the wp-trac mailing list