woothemes/woocommerce — pull request #5043 by splashingpixels (2014-03-05 00:21:57+00:00)
Title: get_related fixed tags OR query not excluding product ID

Related products were showing the same product as the currently viewed product because of the OR query missing the excluded IDs.

See line 1203.