WordPress.org

Ready to get started?Download WordPress

Forums

WP Minify
[bug] 'doing it wrong' error calling is_feed() (1 post)

  1. Mark Rowatt Anderson
    Member
    Posted 1 year ago #

    wp-minify.php line 67 can call is_feed() before wp_query is set, which triggers a 'doing it wrong' error.

    One fix might be to replace line 67 with:-

    if (!is_admin() && !( isset($wp_query) && is_feed() ) && !defined('XMLRPC_REQUEST')) {

    http://wordpress.org/extend/plugins/wp-minify/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 1 year ago by Mark Rowatt Anderson
  • This topic is not resolved
  • WordPress version: 3.5.1

Tags