Coursepress causes issues with the post and product widgets (Bug)

The virtual pages generated by coursepress cause issues with the post and product widgets placed on the same page…

Instead of showing the sites Latest posts in these widgets as they normally do it shows the page currently being viewed.

For example: lists “Login” under “Latest Posts” or viewing /courses-signup/ lists “Signup” under “Latest Posts” widget on that page.

I have recreated this on a site using a different theme – and disabling plugins.

This also has the effect of blocking all products from showing in a Woocommerce Product Widget.

You should be able to recreate this issue by viewing any page automatically generated by coursepress that has a widget enabled in the sidebar or footer.