{"action":"created","issue":{"url":"https://api.github.com/repos/Prospress/woocommerce-subscriptions-gifting/issues/144","repository_url":"https://api.github.com/repos/Prospress/woocommerce-subscriptions-gifting","labels_url":"https://api.github.com/repos/Prospress/woocommerce-subscriptions-gifting/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/Prospress/woocommerce-subscriptions-gifting/issues/144/comments","events_url":"https://api.github.com/repos/Prospress/woocommerce-subscriptions-gifting/issues/144/events","html_url":"https://github.com/Prospress/woocommerce-subscriptions-gifting/pull/144","id":154139779,"number":144,"title":"Remove references to 'Gift' in customer facing notices and add \"This is a gift\" setting ","user":{"login":"james-allan","id":8490476,"avatar_url":"https://avatars.githubusercontent.com/u/8490476?v=3","gravatar_id":"","url":"https://api.github.com/users/james-allan","html_url":"https://github.com/james-allan","followers_url":"https://api.github.com/users/james-allan/followers","following_url":"https://api.github.com/users/james-allan/following{/other_user}","gists_url":"https://api.github.com/users/james-allan/gists{/gist_id}","starred_url":"https://api.github.com/users/james-allan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/james-allan/subscriptions","organizations_url":"https://api.github.com/users/james-allan/orgs","repos_url":"https://api.github.com/users/james-allan/repos","events_url":"https://api.github.com/users/james-allan/events{/privacy}","received_events_url":"https://api.github.com/users/james-allan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-11T01:09:05Z","updated_at":"2016-05-12T03:24:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Prospress/woocommerce-subscriptions-gifting/pulls/144","html_url":"https://github.com/Prospress/woocommerce-subscriptions-gifting/pull/144","diff_url":"https://github.com/Prospress/woocommerce-subscriptions-gifting/pull/144.diff","patch_url":"https://github.com/Prospress/woocommerce-subscriptions-gifting/pull/144.patch"},"body":"This PR includes various changes for supporting stores using Gifting for corporate purchasing.\r\n\r\n- Adds a setting allowing store owners to edit the \"This is a gift\" text displayed on the single product, cart and checkout pages (https://cloudup.com/cM9F2sNRGGe)\r\n- Rephrase user-facing strings which reference the word 'gift', using a more generic term like recipient: \r\n - The error notice displayed when the customer tries to add products to a gifted subscription renewal cart. (https://cloudup.com/cyAkGtIUirW) \r\n - The notice explaining that we've loaded the recipient's shipping address into the checkout when manually paying for a gifted subscription renewal order. (https://cloudup.com/cJJJdi7qJzk)\r\n - notes displayed when a customer updates their: \r\n   - billing address (https://cloudup.com/c6RAp9NkK-P)\r\n    - shipping address (https://cloudup.com/chuymk8Y4yV)\r\n - The error notice displayed when the customer attempts to enter a recipient email address which belongs to their account - effectively self-gifting (https://cloudup.com/caJj820l8U5)\r\n\r\nI also snuck in changes which tidy up duplicated code when validating recipient emails on the single product page.\r\n\r\nfixes #135 "},"comment":{"url":"https://api.github.com/repos/Prospress/woocommerce-subscriptions-gifting/issues/comments/218649966","html_url":"https://github.com/Prospress/woocommerce-subscriptions-gifting/pull/144#issuecomment-218649966","issue_url":"https://api.github.com/repos/Prospress/woocommerce-subscriptions-gifting/issues/144","id":218649966,"user":{"login":"codecov-io","id":8655789,"avatar_url":"https://avatars.githubusercontent.com/u/8655789?v=3","gravatar_id":"","url":"https://api.github.com/users/codecov-io","html_url":"https://github.com/codecov-io","followers_url":"https://api.github.com/users/codecov-io/followers","following_url":"https://api.github.com/users/codecov-io/following{/other_user}","gists_url":"https://api.github.com/users/codecov-io/gists{/gist_id}","starred_url":"https://api.github.com/users/codecov-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codecov-io/subscriptions","organizations_url":"https://api.github.com/users/codecov-io/orgs","repos_url":"https://api.github.com/users/codecov-io/repos","events_url":"https://api.github.com/users/codecov-io/events{/privacy}","received_events_url":"https://api.github.com/users/codecov-io/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T03:24:15Z","updated_at":"2016-05-12T03:24:15Z","body":"## [Current coverage][cc-pull] is **6.16%**\n> Merging [#144][cc-pull] into [master][cc-base-branch] will decrease coverage by **-<.01%**\n\n```diff\n@@            master      #144   diff @@\n========================================\n  Files           16        16          \n  Lines         1220      1234    +14   \n  Methods        113       114     +1   \n  Messages       113         0   -113   \n  Branches         0         0          \n========================================\n  Hits            76        76          \n- Misses        1144      1158    +14   \n  Partials         0         0          \n```\n\n1. File `...download-handler.php` was modified. [more](https://codecov.io/gh/Prospress/woocommerce-subscriptions-gifting/commit/7cd219eeaf5f5f862a2a1e35a0ceb7d107b8885c/changes?src=pr#696E636C756465732F636C6173732D776373672D646F776E6C6F61642D68616E646C65722E706870)\n\n\n> Powered by [Codecov](https://codecov.io?src=pr). Last updated by [4f1513e...7cd219e][cc-compare]\n[cc-base-branch]: https://codecov.io/gh/Prospress/woocommerce-subscriptions-gifting/branch/master?src=pr\n[cc-compare]: https://codecov.io/gh/Prospress/woocommerce-subscriptions-gifting/compare/4f1513ef68c4ebac8e590db301bdcc4c5b39d767...7cd219eeaf5f5f862a2a1e35a0ceb7d107b8885c\n[cc-pull]: https://codecov.io/gh/Prospress/woocommerce-subscriptions-gifting/pull/144?src=pr"}}