{"action":"created","issue":{"url":"https://api.github.com/repos/zzxiang/external-media-without-import/issues/6","repository_url":"https://api.github.com/repos/zzxiang/external-media-without-import","labels_url":"https://api.github.com/repos/zzxiang/external-media-without-import/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/zzxiang/external-media-without-import/issues/6/comments","events_url":"https://api.github.com/repos/zzxiang/external-media-without-import/issues/6/events","html_url":"https://github.com/zzxiang/external-media-without-import/pull/6","id":273250506,"node_id":"MDExOlB1bGxSZXF1ZXN0MTUyMTE0OTE3","number":6,"title":"Fix notices related with register/enqueue actions","user":{"login":"ferrastas","id":116074,"node_id":"MDQ6VXNlcjExNjA3NA==","avatar_url":"https://avatars1.githubusercontent.com/u/116074?v=4","gravatar_id":"","url":"https://api.github.com/users/ferrastas","html_url":"https://github.com/ferrastas","followers_url":"https://api.github.com/users/ferrastas/followers","following_url":"https://api.github.com/users/ferrastas/following{/other_user}","gists_url":"https://api.github.com/users/ferrastas/gists{/gist_id}","starred_url":"https://api.github.com/users/ferrastas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferrastas/subscriptions","organizations_url":"https://api.github.com/users/ferrastas/orgs","repos_url":"https://api.github.com/users/ferrastas/repos","events_url":"https://api.github.com/users/ferrastas/events{/privacy}","received_events_url":"https://api.github.com/users/ferrastas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-11-12T17:50:32Z","updated_at":"2018-09-08T04:27:51Z","closed_at":"2018-09-08T03:30:57Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/zzxiang/external-media-without-import/pulls/6","html_url":"https://github.com/zzxiang/external-media-without-import/pull/6","diff_url":"https://github.com/zzxiang/external-media-without-import/pull/6.diff","patch_url":"https://github.com/zzxiang/external-media-without-import/pull/6.patch"},"body":"WP throws PHP notices related on how scripts/styles are registered and enqueued.\r\nChanged to standard hooks."},"comment":{"url":"https://api.github.com/repos/zzxiang/external-media-without-import/issues/comments/419611942","html_url":"https://github.com/zzxiang/external-media-without-import/pull/6#issuecomment-419611942","issue_url":"https://api.github.com/repos/zzxiang/external-media-without-import/issues/6","id":419611942,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTYxMTk0Mg==","user":{"login":"zzxiang","id":10098144,"node_id":"MDQ6VXNlcjEwMDk4MTQ0","avatar_url":"https://avatars3.githubusercontent.com/u/10098144?v=4","gravatar_id":"","url":"https://api.github.com/users/zzxiang","html_url":"https://github.com/zzxiang","followers_url":"https://api.github.com/users/zzxiang/followers","following_url":"https://api.github.com/users/zzxiang/following{/other_user}","gists_url":"https://api.github.com/users/zzxiang/gists{/gist_id}","starred_url":"https://api.github.com/users/zzxiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zzxiang/subscriptions","organizations_url":"https://api.github.com/users/zzxiang/orgs","repos_url":"https://api.github.com/users/zzxiang/repos","events_url":"https://api.github.com/users/zzxiang/events{/privacy}","received_events_url":"https://api.github.com/users/zzxiang/received_events","type":"User","site_admin":false},"created_at":"2018-09-08T04:27:51Z","updated_at":"2018-09-08T04:27:51Z","author_association":"OWNER","body":"I'm sorry, but the solution provided by @ferrastas does not work for me. Maybe it's because I logged in the admin panel without opening the front end of the site. Instead @jrxpress's solution does work. Indeed, plugins work in admin panel should use `admin_enqueue_scripts` instead of `wp_enqueue_scripts` etc."}}
{"actor":{"display_login":"zzxiang"}}