{"action":"opened","issue":{"url":"https://api.github.com/repos/dulabs/frontend-edit-profile/issues/8","repository_url":"https://api.github.com/repos/dulabs/frontend-edit-profile","labels_url":"https://api.github.com/repos/dulabs/frontend-edit-profile/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/dulabs/frontend-edit-profile/issues/8/comments","events_url":"https://api.github.com/repos/dulabs/frontend-edit-profile/issues/8/events","html_url":"https://github.com/dulabs/frontend-edit-profile/issues/8","id":164226547,"number":8,"title":"Scripts and Styles are not enqueued using proper hooks","user":{"login":"Moros1138","id":10980331,"avatar_url":"https://avatars.githubusercontent.com/u/10980331?v=3","gravatar_id":"","url":"https://api.github.com/users/Moros1138","html_url":"https://github.com/Moros1138","followers_url":"https://api.github.com/users/Moros1138/followers","following_url":"https://api.github.com/users/Moros1138/following{/other_user}","gists_url":"https://api.github.com/users/Moros1138/gists{/gist_id}","starred_url":"https://api.github.com/users/Moros1138/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Moros1138/subscriptions","organizations_url":"https://api.github.com/users/Moros1138/orgs","repos_url":"https://api.github.com/users/Moros1138/repos","events_url":"https://api.github.com/users/Moros1138/events{/privacy}","received_events_url":"https://api.github.com/users/Moros1138/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-07T04:17:41Z","updated_at":"2016-07-07T04:17:41Z","closed_at":null,"body":"When I was debugging I noticed that your plugin was including style and script even after I scrubbed the style and script hooks clean. Upon further investigation, I found you were using the hooks:\r\n\r\nwp_print_styles and wp_print_scripts\r\n\r\nto enqueue your styles and scripts respectively. In my implementation I switched those hooks for:\r\n\r\nwp_enqueue_scripts\r\n\r\nThis allows developers to filter out the scripts and styles for situations where they aren't required! Mainly for speed of loading. The password strength meter is a BEAST by itself and it was being loaded on every single page!\r\n\r\nYou make a great plugin! Thank you for all of your hard work, I hope this helps to make it better!"}}
{"actor":{"display_login":"Moros1138"}}