• for some reasons quick-adsense is using global variable $ShownAds to count how many ads were already inserted in the process_content function.

    Any call from any plugin that for it’s internal reasons need to process post text by calling apply_filters(‘the_content’, will trigger that process_content function.

    Since $ShownAds is global such calls will increase the counter and when it’s time to actually output the post this counter could be 10 or 20. If the limit of 5 ads is set – NO ads will be shown, because the plugin will think that limit is already reached.

    Please consider stop using global variables, this is a very bad development practice.

    http://wordpress.org/extend/plugins/quick-adsense/

Viewing 1 replies (of 1 total)
  • I have frequently seeing no ads on my pages. It happens off and on. At times the problem lastes for several hours at a time. When the problem occours there is a blank space where the ad is supposed to be.

    The above explanation rightly suggests the problem. Thanks NextScripts.
    Revenue has been down over the last several months. Explains why
    I hope the quick adsense folks get a fix soon.

Viewing 1 replies (of 1 total)
  • The topic ‘quick-adsense can be easely broken by any other plugin.’ is closed to new replies.