{"action":"created","issue":{"url":"https://api.github.com/repos/strangerstudios/paid-memberships-pro/issues/635","repository_url":"https://api.github.com/repos/strangerstudios/paid-memberships-pro","labels_url":"https://api.github.com/repos/strangerstudios/paid-memberships-pro/issues/635/labels{/name}","comments_url":"https://api.github.com/repos/strangerstudios/paid-memberships-pro/issues/635/comments","events_url":"https://api.github.com/repos/strangerstudios/paid-memberships-pro/issues/635/events","html_url":"https://github.com/strangerstudios/paid-memberships-pro/pull/635","id":296665421,"node_id":"MDExOlB1bGxSZXF1ZXN0MTY4NzkxNDAz","number":635,"title":"Load print.css on pages that use print feature only","user":{"login":"andrewlimaza","id":12629136,"node_id":"MDQ6VXNlcjEyNjI5MTM2","avatar_url":"https://avatars2.githubusercontent.com/u/12629136?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewlimaza","html_url":"https://github.com/andrewlimaza","followers_url":"https://api.github.com/users/andrewlimaza/followers","following_url":"https://api.github.com/users/andrewlimaza/following{/other_user}","gists_url":"https://api.github.com/users/andrewlimaza/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewlimaza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewlimaza/subscriptions","organizations_url":"https://api.github.com/users/andrewlimaza/orgs","repos_url":"https://api.github.com/users/andrewlimaza/repos","events_url":"https://api.github.com/users/andrewlimaza/events{/privacy}","received_events_url":"https://api.github.com/users/andrewlimaza/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-13T09:22:41Z","updated_at":"2018-08-29T18:18:34Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/strangerstudios/paid-memberships-pro/pulls/635","html_url":"https://github.com/strangerstudios/paid-memberships-pro/pull/635","diff_url":"https://github.com/strangerstudios/paid-memberships-pro/pull/635.diff","patch_url":"https://github.com/strangerstudios/paid-memberships-pro/pull/635.patch"},"body":"Load the print.css file only on pages that use the print feature.\r\n\r\nPossibility would be to add this to the frontend.css since the CSS code is one line."},"comment":{"url":"https://api.github.com/repos/strangerstudios/paid-memberships-pro/issues/comments/417053552","html_url":"https://github.com/strangerstudios/paid-memberships-pro/pull/635#issuecomment-417053552","issue_url":"https://api.github.com/repos/strangerstudios/paid-memberships-pro/issues/635","id":417053552,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzA1MzU1Mg==","user":{"login":"eighty20results","id":5167506,"node_id":"MDQ6VXNlcjUxNjc1MDY=","avatar_url":"https://avatars3.githubusercontent.com/u/5167506?v=4","gravatar_id":"","url":"https://api.github.com/users/eighty20results","html_url":"https://github.com/eighty20results","followers_url":"https://api.github.com/users/eighty20results/followers","following_url":"https://api.github.com/users/eighty20results/following{/other_user}","gists_url":"https://api.github.com/users/eighty20results/gists{/gist_id}","starred_url":"https://api.github.com/users/eighty20results/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eighty20results/subscriptions","organizations_url":"https://api.github.com/users/eighty20results/orgs","repos_url":"https://api.github.com/users/eighty20results/repos","events_url":"https://api.github.com/users/eighty20results/events{/privacy}","received_events_url":"https://api.github.com/users/eighty20results/received_events","type":"User","site_admin":false},"created_at":"2018-08-29T18:18:34Z","updated_at":"2018-08-29T18:18:34Z","author_association":"CONTRIBUTOR","body":"First of all, enqueuing resources should follow WordPress best practices (ie. should happen in the [admin|wp]_enqueue_scripts hook) and not be done in the `init` action.\r\n\r\nIn the WP Codex ([in wp-admin](https://codex.wordpress.org/Plugin_API/Action_Reference/admin_enqueue_scripts) there are documented best practices for adding scripts/styles to specific page(s) as they're being loaded for the backend (use the passed $hook variable to identify the page(s))\r\n\r\nFor the front end, people typically use `is_page()` and the page ID (rather than the request variable that could be a duplicate from some other plugin that also doesn't use the plugin prefix for it's POST/GET variables)."}}
{"actor":{"display_login":"eighty20results"}}