WordPress.org

Ready to get started?Download WordPress

Forums

FeedWordPress
Hardcoded column name in query (1 post)

  1. thomaskc
    Member
    Posted 1 year ago #

    There's a hardcoded column name in a query in syndicationdataqueries.class.php (on line 97 in version 2012.1218). It currently reads:
    $search .= " AND ({$wpdb->postmeta}.meta_key = '".$query->get('meta_key')."' AND wp_postmeta.meta_value = '".$query->get('meta_value')."') -- '";

    It should be like this:
    $search .= " AND ({$wpdb->postmeta}.meta_key = '".$query->get('meta_key')."' AND {$wpdb->postmeta}.meta_value = '".$query->get('meta_value')."') -- '";

    Kind regards

    Thomas

    http://wordpress.org/extend/plugins/feedwordpress/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic