MightyTechno Little Bug Fixed - Wordpress Plugin

Okay, for the past few days I noticed that my posts on the main page were displayed incorrectly, according to rule.

For example, is configured to display 3 blocks of ads, but it showed only 1 block. This happened when I used ( friendly ) on this site.

Looking back at the code, I realized the same $current_display variable is being used by both plugins to hold values that supposed to be local to each of them. But it’s not, since plugins are loaded at the same time, $current_display variable is being referred by both and result in value conflict when both plugins are trying to update it. So I guess because is loaded later after (even though within same session), will reuse $current_display from - now that should not happen.

It got fixed.

Checkout the latest here.

Posted March 31st, 2006 by mightyhitter under Wordpress

 

Leave a Reply