{"action":"created","issue":{"url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/3074","labels_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/3074/labels{/name}","comments_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/3074/comments","events_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/3074/events","html_url":"https://github.com/Yoast/wordpress-seo/issues/3074","id":114593270,"number":3074,"title":"Titles and metas should follow templates","user":{"login":"terw-dan","id":11272096,"avatar_url":"https://avatars.githubusercontent.com/u/11272096?v=3","gravatar_id":"","url":"https://api.github.com/users/terw-dan","html_url":"https://github.com/terw-dan","followers_url":"https://api.github.com/users/terw-dan/followers","following_url":"https://api.github.com/users/terw-dan/following{/other_user}","gists_url":"https://api.github.com/users/terw-dan/gists{/gist_id}","starred_url":"https://api.github.com/users/terw-dan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terw-dan/subscriptions","organizations_url":"https://api.github.com/users/terw-dan/orgs","repos_url":"https://api.github.com/users/terw-dan/repos","events_url":"https://api.github.com/users/terw-dan/events{/privacy}","received_events_url":"https://api.github.com/users/terw-dan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Yoast/wordpress-seo/labels/in-progress","name":"in-progress","color":"78BDF2"},{"url":"https://api.github.com/repos/Yoast/wordpress-seo/labels/snippet%20preview","name":"snippet preview","color":"006b75"}],"state":"open","locked":false,"assignee":{"login":"terw-dan","id":11272096,"avatar_url":"https://avatars.githubusercontent.com/u/11272096?v=3","gravatar_id":"","url":"https://api.github.com/users/terw-dan","html_url":"https://github.com/terw-dan","followers_url":"https://api.github.com/users/terw-dan/followers","following_url":"https://api.github.com/users/terw-dan/following{/other_user}","gists_url":"https://api.github.com/users/terw-dan/gists{/gist_id}","starred_url":"https://api.github.com/users/terw-dan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terw-dan/subscriptions","organizations_url":"https://api.github.com/users/terw-dan/orgs","repos_url":"https://api.github.com/users/terw-dan/repos","events_url":"https://api.github.com/users/terw-dan/events{/privacy}","received_events_url":"https://api.github.com/users/terw-dan/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-11-02T13:26:50Z","updated_at":"2015-11-02T15:22:30Z","closed_at":null,"body":"The title and template should follow the template when they are generated. Currently it generates a title or metadescription based on the text that is filled out, but doesn't look at the templates. \r\n\r\nThis should be fixed so it sets these values according to the templates"},"comment":{"url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/comments/153051251","html_url":"https://github.com/Yoast/wordpress-seo/issues/3074#issuecomment-153051251","issue_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/3074","id":153051251,"user":{"login":"tacoverdo","id":5147598,"avatar_url":"https://avatars.githubusercontent.com/u/5147598?v=3","gravatar_id":"","url":"https://api.github.com/users/tacoverdo","html_url":"https://github.com/tacoverdo","followers_url":"https://api.github.com/users/tacoverdo/followers","following_url":"https://api.github.com/users/tacoverdo/following{/other_user}","gists_url":"https://api.github.com/users/tacoverdo/gists{/gist_id}","starred_url":"https://api.github.com/users/tacoverdo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tacoverdo/subscriptions","organizations_url":"https://api.github.com/users/tacoverdo/orgs","repos_url":"https://api.github.com/users/tacoverdo/repos","events_url":"https://api.github.com/users/tacoverdo/events{/privacy}","received_events_url":"https://api.github.com/users/tacoverdo/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T15:22:30Z","updated_at":"2015-11-02T15:22:30Z","body":"Inconsistancy in handling the title, seems to be related to this issbue as discussed earlier.\r\n\r\n**Steps to reproduce**\r\n* Log in on the WP backend\r\n* Set the following templates:\r\n  * Title Separator: `|`\r\n  * Post Types -> Posts -> Title Template: `%%title%% %%page%% %%sep%% %%sitename%% - hardcoded`\r\n* Create a new post with the following details:\r\n  * Title: `Lorem Test`\r\n  * Content: `Lorem ipsum dolor sit amet, consectetuer adipiscing elit.`\r\n* Publish the post. This should result in the following \r\n![edit_post_ _wpbeta_ _wordpress](https://cloud.githubusercontent.com/assets/5147598/10884604/31dcfccc-8179-11e5-8881-f1dc355f01b1.png)\r\n* View the published post (front-end)\r\n* Compare values for `title`, `og:title` and `twitter:title`. They should be equal. \r\n![developer_tools_-_http___wpbeta_dev_lorem-test](https://cloud.githubusercontent.com/assets/5147598/10885300/e9d5a70e-817c-11e5-98db-091e22042bef.png)\r\nCurrently, they're not. \r\n* Go back to the admin to edit the published post\r\n* Change the title in the snippet preview \r\n![edit_post_ _wpbeta_ _wordpress](https://cloud.githubusercontent.com/assets/5147598/10885376/3d22e08e-817d-11e5-8df1-0bfe1b913ca1.png)\r\n* Save the changes by clicking 'Update'\r\n* Go back to the front-end and use inspector on the post-page again. `title`, `og:title` and `twitter:title` should still be equal. \r\n![developer_tools_-_http___wpbeta_dev_lorem-test](https://cloud.githubusercontent.com/assets/5147598/10885515/dd3576f4-817d-11e5-9427-a1f3f7b60d9c.png)\r\n\r\nCurrently, they're not.\r\n\r\n"}}