Ticket #15249: 15249.2.patch
File 15249.2.patch, 954 bytes (added by , 14 years ago) |
---|
-
wp-includes/comment.php
351 351 foreach ( $cols as $col ) 352 352 $searches[] = "$col LIKE '%$string%'"; 353 353 354 return ' AND (' . implode(' OR ', $searches) . ')';354 return apply_filters_ref_array( 'comment_search_sql', array(' AND (' . implode(' OR ', $searches) . ')', $string, $cols, $searches ) ); 355 355 } 356 356 } 357 357 -
wp-includes/user.php
549 549 $searches[] = "$col LIKE '$string$wild_char'"; 550 550 } 551 551 552 return ' AND (' . implode(' OR ', $searches) . ')';552 return apply_filters_ref_array( 'user_search_sql', array(' AND (' . implode(' OR ', $searches) . ')', $string, $cols, $searches ) ); 553 553 } 554 554 555 555 /**