Ticket #7814: 7814.diff
| File 7814.diff, 482 bytes (added by , 16 months ago) |
|---|
-
inc/search.php
127 127 global $wpdb; 128 128 129 129 if ( self::is_search( $query ) ) { 130 $insert_at = strpos( $where, 'OR (' . $wpdb->prefix . 'posts.post_content LIKE' );130 $insert_at = strpos( $where, 'OR (' . $wpdb->prefix . 'posts.post_content REGEXP ' ); 131 131 if ( $insert_at ) { 132 132 $or_tag = $wpdb->prepare( "OR 133 133 (