[wp-trac] [WordPress Trac] #25587: wp_search_stopwords filter shouldn't be cached

WordPress Trac noreply at wordpress.org
Sun Oct 13 15:11:47 UTC 2013


#25587: wp_search_stopwords filter shouldn't be cached
--------------------------+-----------------------------
 Reporter:  alex-ye       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 Caching `wp_search_stopwords` hook, make it harder to remove the filter
 and add other filters after the function invoke.

 Some reasons:

 - When we make a dynamic stopwords list depending on the 'Input language'
 or the WP query object.

 - I may add some stopwords using the ar.php file in wp-content/languages ,
 becuase Arabic language has more than 1000 stopword. so I want to provide
 the ability to remove the filter easily!

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25587>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list