[wp-trac] [WordPress Trac] #42426: Search by keyword in non-English language site doesn't work

WordPress Trac noreply at wordpress.org
Sat Nov 4 03:26:24 UTC 2017


#42426: Search by keyword in non-English language site doesn't work
--------------------------+----------------------
 Reporter:  PT Guy        |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Query         |     Version:  4.8.3
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------

Comment (by PT Guy):

 @SergeyBiryukov indeed.
 But the placeholder was removed in query() function of the wpdb class, by
 the 'query' filter


 {{{
 add_filter( 'query', array( $this, 'remove_placeholder_escape' ), 0 );
 }}}


 Sorry for my mistake.

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


More information about the wp-trac mailing list