{"action":"created","issue":{"url":"https://api.github.com/repos/TobiasBg/TablePress/issues/61","repository_url":"https://api.github.com/repos/TobiasBg/TablePress","labels_url":"https://api.github.com/repos/TobiasBg/TablePress/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/TobiasBg/TablePress/issues/61/comments","events_url":"https://api.github.com/repos/TobiasBg/TablePress/issues/61/events","html_url":"https://github.com/TobiasBg/TablePress/issues/61","id":228698720,"number":61,"title":"Injecting jQuery","user":{"login":"stirtingale","id":25981099,"avatar_url":"https://avatars3.githubusercontent.com/u/25981099?v=3","gravatar_id":"","url":"https://api.github.com/users/stirtingale","html_url":"https://github.com/stirtingale","followers_url":"https://api.github.com/users/stirtingale/followers","following_url":"https://api.github.com/users/stirtingale/following{/other_user}","gists_url":"https://api.github.com/users/stirtingale/gists{/gist_id}","starred_url":"https://api.github.com/users/stirtingale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stirtingale/subscriptions","organizations_url":"https://api.github.com/users/stirtingale/orgs","repos_url":"https://api.github.com/users/stirtingale/repos","events_url":"https://api.github.com/users/stirtingale/events{/privacy}","received_events_url":"https://api.github.com/users/stirtingale/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-15T12:29:25Z","updated_at":"2017-05-15T12:43:31Z","closed_at":null,"body":"The plugin has the ability to toggle css on/off\r\n\r\nHowever, I have un-enqueued Jquery on my site (and have it loaded in a minified grunt-generated file). TablePress, however, reinjects jQuery v1.12.4 immediately before jquery.datatables.min.js?ver=1.8\r\n\r\nThis causes a conflict on my site and blocks Stripe from loading. \r\n\r\nCan jQuery be toggled on/off or an option to unhook from the functions.php be added? "},"comment":{"url":"https://api.github.com/repos/TobiasBg/TablePress/issues/comments/301463419","html_url":"https://github.com/TobiasBg/TablePress/issues/61#issuecomment-301463419","issue_url":"https://api.github.com/repos/TobiasBg/TablePress/issues/61","id":301463419,"user":{"login":"TobiasBg","id":155439,"avatar_url":"https://avatars1.githubusercontent.com/u/155439?v=3","gravatar_id":"","url":"https://api.github.com/users/TobiasBg","html_url":"https://github.com/TobiasBg","followers_url":"https://api.github.com/users/TobiasBg/followers","following_url":"https://api.github.com/users/TobiasBg/following{/other_user}","gists_url":"https://api.github.com/users/TobiasBg/gists{/gist_id}","starred_url":"https://api.github.com/users/TobiasBg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TobiasBg/subscriptions","organizations_url":"https://api.github.com/users/TobiasBg/orgs","repos_url":"https://api.github.com/users/TobiasBg/repos","events_url":"https://api.github.com/users/TobiasBg/events{/privacy}","received_events_url":"https://api.github.com/users/TobiasBg/received_events","type":"User","site_admin":false},"created_at":"2017-05-15T12:43:31Z","updated_at":"2017-05-15T12:43:31Z","body":"Thanks for your post, and sorry for the trouble. TablePress needs jQuery (specifically, the DataTables JS library needs jQuery). Now, the JS code is quite stable so that TablePress does not load the jquery-migrate.js script, which is part of the default jQuery loading of WordPress.\r\nIt does so, by enqueuing the handle `jquery-core`, so all that might be necessary is for you to extend your dequeue code to also dequeue the `jquery-core` script handle."}}
{"actor":{"display_login":"TobiasBg"}}