Issue with $posts[0]->post_status = 'closed' and WooCommerce #18

toomuchdesign opened this Issue Nov 24, 2013 · 3 comments


2 participants

Hi Bueltge,
I've been often using your plugin as a mu-plugin. A very clean solution.

Today I found a problem playing with WooCommerce:
On line 117, post_status (and comment_status too) is set to closed and this prevents the "add to cart" button to be displayed non Administrator users.

The issue is caused because WooCommerce check if the product page status is 'publish' before displaying the button.

I commented out line 117, but I've still not found a smarter solution.

@bueltge bueltge closed this in 62b93b9 Nov 24, 2013


bueltge commented Nov 24, 2013

@toomuchdesign Thanks for the hint. Please check the new version, have also updates for WP 3.8, removes from dashboard area, new design, new widget overview. Thanks for a reply here.

The issue is solved by the new version. Thanks bueltge!


bueltge commented Dec 2, 2013


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment