[wp-trac] [WordPress Trac] #17093: Validation and context parameter for query filter application

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 9 14:04:43 UTC 2011


#17093: Validation and context parameter for query filter application
-------------------------+------------------------------
 Reporter:  kevinB       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Query        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------

Comment (by kevinB):

 Note: add_query_filter() and apply_query_filters() are a fully equivalent
 to add_filter() and apply_filters(), with the validation and context check
 tacked on.

 Query filters added via add_filter() still work and also get return value
 validation.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17093#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list