WordPress.org

Plugin Directory


Ignore:
Timestamp:
10/04/17 12:02:54 (2 weeks ago)
Author:
radgeek
Message:

2017.1004 / Minor compatibility fixes for PHP 7.1 and multibyte feeds.

File:
1 edited

Legend:

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

    r1729289 r1740884  
    1616    } 
    1717 
    18     function parse_query (&$q) { 
     18    function parse_query ($q) { 
    1919        if ($q->get('guid')) : 
    2020            $q->is_single = false;  // Causes nasty side-effects. 
     
    2828    } /* SyndicationDataQueries::parse_query () */ 
    2929 
    30     function pre_get_posts (&$q) { 
     30    function pre_get_posts ($q) { 
    3131        // 
    3232    } 
    3333 
    34     function posts_request ($sql, &$query) { 
     34    function posts_request ($sql, $query) { 
    3535        if ($query->get('fields') == '_synfresh') : 
    3636            FeedWordPress::diagnostic('feed_items:freshness:sql', "SQL: ".$sql); 
     
    3939    } 
    4040 
    41     function posts_search ($search, &$query) { 
     41    function posts_search ($search, $query) { 
    4242        global $wpdb; 
    4343        if ($guid = $query->get('guid')) : 
     
    7878    } /* SyndicationDataQueries::posts_search () */ 
    7979 
    80     function posts_where ($where, &$q) { 
     80    function posts_where ($where, $q) { 
    8181        global $wpdb; 
    8282 
     
    9595    } /* SyndicationDataQueries::post_where () */ 
    9696 
    97     function posts_fields ($fields, &$query) { 
     97    function posts_fields ($fields, $query) { 
    9898        global $wpdb; 
    9999        if ($f = $query->get('fields')) : 
Note: See TracChangeset for help on using the changeset viewer.