Index: /sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/functions.php
===================================================================
--- /sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/functions.php (revision 1555)
+++ /sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/functions.php (revision 1556)
@@ -269,5 +269,5 @@
foreach ( (array) $query->query_vars['search_terms'] as $term ) {
- $term = esc_sql( like_escape( $term ) );
+ $term = esc_sql( $wpdb->esc_like( $term ) );
$search .= "{$searchand}(($wpdb->posts.post_title LIKE '{$n}{$term}{$n}') OR ($wpdb->posts.post_content LIKE '{$n}{$term}{$n}'))";
$searchand = ' AND ';
Index: /sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/plugins/wordpresstv-upload-subtitles/wordpresstv-upload-subtitles.php
===================================================================
--- /sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/plugins/wordpresstv-upload-subtitles/wordpresstv-upload-subtitles.php (revision 1555)
+++ /sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/plugins/wordpresstv-upload-subtitles/wordpresstv-upload-subtitles.php (revision 1556)
@@ -30,5 +30,5 @@
*/
function handle_upload() {
- // allow only video mimes
+ // allow only subtitle mimes
$overrides = array(
'test_form' => false,