woothemes/woocommerce — Issue #133: Multisite Bug: _woocommerce_exclude_image meta_key gernerated on each page load
Author: Kriesi
Created: 2011-11-02 23:23:12+00:00
State: open

Hey Guys! I have just installed the plugin on a multisite installation and came across the following issue:

Everytime I browsed from one page to another in my backend the plugin creates a good junk of post meta entries with key _woocommerce_exclude_image and value 0.

Since this didnt happen on my local server I tried a few configurations and here is how I was able to reproduce it

Install wordpress, convert to multisite (bug doesnt appear on default installations)

Activate woocommerce

open "hello world post" and upload a few images.

Now whenever you browse from one backend page to another a key is generated for each image. I have created a theme demo on my multisite installation and during that process the plugin generated 15000 entries which caused my memory limit to exced once i queried a few attachments.

Hope you can reproduce the error and fix it ;)