{"action":"created","issue":{"url":"https://api.github.com/repos/discourse/wp-discourse/issues/199","repository_url":"https://api.github.com/repos/discourse/wp-discourse","labels_url":"https://api.github.com/repos/discourse/wp-discourse/issues/199/labels{/name}","comments_url":"https://api.github.com/repos/discourse/wp-discourse/issues/199/comments","events_url":"https://api.github.com/repos/discourse/wp-discourse/issues/199/events","html_url":"https://github.com/discourse/wp-discourse/pull/199","id":156168773,"number":199,"title":"FEATURE [WIP]: Improve WooCommerce support","user":{"login":"scossar","id":2975917,"avatar_url":"https://avatars.githubusercontent.com/u/2975917?v=3","gravatar_id":"","url":"https://api.github.com/users/scossar","html_url":"https://github.com/scossar","followers_url":"https://api.github.com/users/scossar/followers","following_url":"https://api.github.com/users/scossar/following{/other_user}","gists_url":"https://api.github.com/users/scossar/gists{/gist_id}","starred_url":"https://api.github.com/users/scossar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scossar/subscriptions","organizations_url":"https://api.github.com/users/scossar/orgs","repos_url":"https://api.github.com/users/scossar/repos","events_url":"https://api.github.com/users/scossar/events{/privacy}","received_events_url":"https://api.github.com/users/scossar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"techAPJ","id":5732281,"avatar_url":"https://avatars.githubusercontent.com/u/5732281?v=3","gravatar_id":"","url":"https://api.github.com/users/techAPJ","html_url":"https://github.com/techAPJ","followers_url":"https://api.github.com/users/techAPJ/followers","following_url":"https://api.github.com/users/techAPJ/following{/other_user}","gists_url":"https://api.github.com/users/techAPJ/gists{/gist_id}","starred_url":"https://api.github.com/users/techAPJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techAPJ/subscriptions","organizations_url":"https://api.github.com/users/techAPJ/orgs","repos_url":"https://api.github.com/users/techAPJ/repos","events_url":"https://api.github.com/users/techAPJ/events{/privacy}","received_events_url":"https://api.github.com/users/techAPJ/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2016-05-22T19:42:49Z","updated_at":"2016-05-24T04:19:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/discourse/wp-discourse/pulls/199","html_url":"https://github.com/discourse/wp-discourse/pull/199","diff_url":"https://github.com/discourse/wp-discourse/pull/199.diff","patch_url":"https://github.com/discourse/wp-discourse/pull/199.patch"},"body":"Allows Discourse to be used for WooCommerce product reviews.\r\n\r\n- ~~Adds a 'plugin support' section to the settings page, with an 'Enable WooCommerce Support' setting~~\r\n- Adds a 'login-path' setting to the settings page SSO section. This makes it possible to override the default WordPress login page. To use the WooCommerce 'my-account' page for login, the login path should be set to '/my-account'\r\n- Increases the priority of the Discourse comments template so that it will be used in place of the comments template that is set through WooCommerce or other plugins\r\n- Adds a `WoocommerceSupport` class that sets the proper redirect from WordPress to Discourse when the WooCommerce `/my-account` page is used as the login page. ~~It also returns the name of the WooCommerce comments_number_filter, and hooks it  into the `Discouse::comments_number` method.~~\r\n\r\nIf the 'login-path' setting is not set, the default WordPress login page `wp-login.php` will be used. Setting the 'login-path' makes it possible to use any page on the WordPress site as the login page. An example of how to do this can be added to the documentation.\r\n\r\nDoes this feature belong in the plugin? Most of these changes could also be made in the theme's `functions.php` file.\r\n\r\nsee:\r\nhttps://github.com/discourse/wp-discourse/issues/173\r\n\r\nhttps://meta.discourse.org/t/wp-discourse-sso-plugin/23245/40?u=simon_cossar\r\n"},"comment":{"url":"https://api.github.com/repos/discourse/wp-discourse/issues/comments/221162684","html_url":"https://github.com/discourse/wp-discourse/pull/199#issuecomment-221162684","issue_url":"https://api.github.com/repos/discourse/wp-discourse/issues/199","id":221162684,"user":{"login":"techAPJ","id":5732281,"avatar_url":"https://avatars.githubusercontent.com/u/5732281?v=3","gravatar_id":"","url":"https://api.github.com/users/techAPJ","html_url":"https://github.com/techAPJ","followers_url":"https://api.github.com/users/techAPJ/followers","following_url":"https://api.github.com/users/techAPJ/following{/other_user}","gists_url":"https://api.github.com/users/techAPJ/gists{/gist_id}","starred_url":"https://api.github.com/users/techAPJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techAPJ/subscriptions","organizations_url":"https://api.github.com/users/techAPJ/orgs","repos_url":"https://api.github.com/users/techAPJ/repos","events_url":"https://api.github.com/users/techAPJ/events{/privacy}","received_events_url":"https://api.github.com/users/techAPJ/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T04:19:42Z","updated_at":"2016-05-24T04:19:42Z","body":"I agree with @erlend-sh here, instead of making this a separate plugin it should be supported out of the box considering WooCommerce is an Automattic company now.\r\n\r\n@iamntz Making wp-discourse plugin extensible is on our roadmap, but I think for now we should focus on making core `wp-discourse` plugin useful and stable, until it reaches Version `1.0`."}}
{"actor":{"display_login":"techAPJ"}}