• Resolved harrym

    (@harrym)


    As written, the function below (inc/custom-post-types.php:143) assumes that all users are administrators:

    function wprss_feed_source_order( $query ) {
            if ( ! is_admin ) {
                return;
            }
    
            $post_type = $query->get('post_type');

    The error is a result of omitting parentheses on the call to is_admin.

    I’m not sure how serious it is that any user can potentially alter this ordering.

    PS – do you develop with notices enabled?

    https://www.ads-software.com/extend/plugins/wp-rss-aggregator/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP RSS Aggregator] Bug in version 2.2: wprss_feed_source_order assumes everyone is an admin’ is closed to new replies.