Fixed a typo where the function was referring to the wrong cart items.
Merge pull request #1940 from carldanley/release/2.0

Patch for variable reference problem
Fixing User Unit Test to have correct post ID for inserted download
Reverting post ID change for proper stage
Properly fixing post ID for user.php unit tests on payment downloads
#1874 - Adding unit tests for new edd_get_users_purchased_products function
Merge pull request #1949 from cklosowski/release/2.0

Adding Unit tests for edd_get_users_purchased_products and fixing user unit tests
added support for revisions
Merge pull request #1952 from sumobi/release/2.0

Add support for revisions
#1953 - Additional user purchase related unit tests
Merge pull request #1954 from cklosowski/release/2.0

Additional user purchase related unit tests