{"action":"created","issue":{"url":"https://api.github.com/repos/FortAwesome/Font-Awesome/issues/9434","repository_url":"https://api.github.com/repos/FortAwesome/Font-Awesome","labels_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/issues/9434/labels{/name}","comments_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/issues/9434/comments","events_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/issues/9434/events","html_url":"https://github.com/FortAwesome/Font-Awesome/issues/9434","id":161436203,"number":9434,"title":"The new FontAwesome script gives an error on using the Wordpress Media Uploader","user":{"login":"Syourt","id":12154823,"avatar_url":"https://avatars.githubusercontent.com/u/12154823?v=3","gravatar_id":"","url":"https://api.github.com/users/Syourt","html_url":"https://github.com/Syourt","followers_url":"https://api.github.com/users/Syourt/followers","following_url":"https://api.github.com/users/Syourt/following{/other_user}","gists_url":"https://api.github.com/users/Syourt/gists{/gist_id}","starred_url":"https://api.github.com/users/Syourt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Syourt/subscriptions","organizations_url":"https://api.github.com/users/Syourt/orgs","repos_url":"https://api.github.com/users/Syourt/repos","events_url":"https://api.github.com/users/Syourt/events{/privacy}","received_events_url":"https://api.github.com/users/Syourt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FortAwesome/Font-Awesome/labels/cdn","name":"cdn","color":"fbca04"},{"url":"https://api.github.com/repos/FortAwesome/Font-Awesome/labels/waiting%20for%20feedback","name":"waiting for feedback","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-06-21T13:26:21Z","updated_at":"2016-06-22T09:30:39Z","closed_at":null,"body":"I have just included the new FontAwesome script using the FontAwesome javascript cdn method.\r\n\r\nNow I'm trying to use the Wordpress media upload feature when editing or creating a new page. When the Font Awesome script is loaded I get the error stated below. When I deactivate the script, the media uploader works fine.\r\n\r\n`Uncaught TypeError: this.activateMode is not a function`"},"comment":{"url":"https://api.github.com/repos/FortAwesome/Font-Awesome/issues/comments/227691365","html_url":"https://github.com/FortAwesome/Font-Awesome/issues/9434#issuecomment-227691365","issue_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/issues/9434","id":227691365,"user":{"login":"tagliala","id":556268,"avatar_url":"https://avatars.githubusercontent.com/u/556268?v=3","gravatar_id":"","url":"https://api.github.com/users/tagliala","html_url":"https://github.com/tagliala","followers_url":"https://api.github.com/users/tagliala/followers","following_url":"https://api.github.com/users/tagliala/following{/other_user}","gists_url":"https://api.github.com/users/tagliala/gists{/gist_id}","starred_url":"https://api.github.com/users/tagliala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tagliala/subscriptions","organizations_url":"https://api.github.com/users/tagliala/orgs","repos_url":"https://api.github.com/users/tagliala/repos","events_url":"https://api.github.com/users/tagliala/events{/privacy}","received_events_url":"https://api.github.com/users/tagliala/received_events","type":"User","site_admin":false},"created_at":"2016-06-22T09:30:39Z","updated_at":"2016-06-22T09:30:39Z","body":"It works for me.\r\n\r\nWP: 4.5.3\r\nTheme: twentysixteen\r\nfunctions.php\r\n\r\n```php\r\nfunction custom_admin_scripts() {\r\n  wp_enqueue_script( 'font_awesome', 'https://use.fontawesome.com/EDITED.js' );\r\n}\r\nadd_action( 'admin_enqueue_scripts', 'custom_admin_scripts' );\r\n```\r\n(Please note that `wp_enqueue_script( 'font_awesome', 'https://use.fontawesome.com/EDITED.js', array(), null );` is better because otherwise WP adds `?ver=4.5.3` to the `src` attribute)\r\n\r\nResult:\r\n![screen shot 2016-06-22 at 11 26 20](https://cloud.githubusercontent.com/assets/556268/16261514/30183f3c-386c-11e6-8d63-afed2b1ee45b.png)\r\n\r\n\r\nCould you please provide me your .js configuration at fontawesome cdn? This is mine.\r\n\r\n![screen shot 2016-06-22 at 11 29 30](https://cloud.githubusercontent.com/assets/556268/16261655/a59de07c-386c-11e6-80f0-9615acd4db21.png)\r\n"}}
{"actor":{"display_login":"tagliala"}}