WordPress.org

Plugin Directory

Changeset 413179 for feedwordpress


Ignore:
Timestamp:
07/21/11 12:18:48 (6 years ago)
Author:
radgeek
Message:

Bugfix: Mis-use of wpdb->prepare() caused guid match clauses to get blanked out when URL included %HEX escapes, which in turn caused nasty obliteration of existing wp_posts records.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • feedwordpress/trunk/syndicationdataqueries.class.php

    r405317 r413179  
    6060                // Assemble 
    6161                $guidMatch = "(guid = '".implode("') OR (guid = '", $seek)."')"; 
    62                 $search .= $wpdb->prepare(" AND ($guidMatch)"); 
     62                $search .= " AND ($guidMatch)"; 
    6363            endif; 
    6464        endif; 
Note: See TracChangeset for help on using the changeset viewer.