Changeset 2473441
- Timestamp:
- 02/12/2021 02:08:49 AM (5 years ago)
- Location:
- twitchpress
- Files:
-
- 399 added
- 8 edited
-
tags/3.7.0 (added)
-
tags/3.7.0/assets (added)
-
tags/3.7.0/assets/css (added)
-
tags/3.7.0/assets/css/activation.css (added)
-
tags/3.7.0/assets/css/activation.scss (added)
-
tags/3.7.0/assets/css/admin.css (added)
-
tags/3.7.0/assets/css/admin.scss (added)
-
tags/3.7.0/assets/css/twitchpress-login-form.css (added)
-
tags/3.7.0/assets/css/twitchpress-login-shortcode.css (added)
-
tags/3.7.0/assets/css/twitchpress-setup.css (added)
-
tags/3.7.0/assets/css/twitchpress-setup.scss (added)
-
tags/3.7.0/assets/images (added)
-
tags/3.7.0/assets/images/twitchpress_logo.png (added)
-
tags/3.7.0/assets/js (added)
-
tags/3.7.0/assets/js/admin (added)
-
tags/3.7.0/assets/js/admin/twitchpress-enhanced-select.js (added)
-
tags/3.7.0/assets/js/admin/twitchpress-enhanced-select.min.js (added)
-
tags/3.7.0/assets/js/admin/twitchpress-faq.js (added)
-
tags/3.7.0/assets/js/admin/twitchpress-faq.min.js (added)
-
tags/3.7.0/assets/js/admin/twitchpress-setup.js (added)
-
tags/3.7.0/assets/js/admin/twitchpress-setup.min.js (added)
-
tags/3.7.0/assets/js/jquery-blockui (added)
-
tags/3.7.0/assets/js/jquery-blockui/jquery.blockUI.js (added)
-
tags/3.7.0/assets/js/jquery-blockui/jquery.blockUI.min.js (added)
-
tags/3.7.0/assets/js/select2 (added)
-
tags/3.7.0/assets/js/select2/select2.js (added)
-
tags/3.7.0/assets/js/select2/select2.min.js (added)
-
tags/3.7.0/deprecated.php (added)
-
tags/3.7.0/functions.php (added)
-
tags/3.7.0/i18n (added)
-
tags/3.7.0/i18n/languages (added)
-
tags/3.7.0/i18n/languages/twitchpress-en_US.mo (added)
-
tags/3.7.0/i18n/languages/twitchpress-en_US.po (added)
-
tags/3.7.0/i18n/languages/twitchpress.pot (added)
-
tags/3.7.0/includes (added)
-
tags/3.7.0/includes/admin (added)
-
tags/3.7.0/includes/admin/class.twitchpress-admin-assets.php (added)
-
tags/3.7.0/includes/admin/class.twitchpress-admin-dashboard.php (added)
-
tags/3.7.0/includes/admin/class.twitchpress-admin-data-views.php (added)
-
tags/3.7.0/includes/admin/class.twitchpress-admin-deactivate.php (added)
-
tags/3.7.0/includes/admin/class.twitchpress-admin-help.php (added)
-
tags/3.7.0/includes/admin/class.twitchpress-admin-menus.php (added)
-
tags/3.7.0/includes/admin/class.twitchpress-admin-notices.php (added)
-
tags/3.7.0/includes/admin/class.twitchpress-admin-pointers.php (added)
-
tags/3.7.0/includes/admin/class.twitchpress-admin-quicktools.php (added)
-
tags/3.7.0/includes/admin/class.twitchpress-admin-roles.php (added)
-
tags/3.7.0/includes/admin/class.twitchpress-admin-settings.php (added)
-
tags/3.7.0/includes/admin/class.twitchpress-admin-setup-wizard-youtube.php (added)
-
tags/3.7.0/includes/admin/class.twitchpress-admin-setup-wizard.php (added)
-
tags/3.7.0/includes/admin/class.twitchpress-admin-tools-views.php (added)
-
tags/3.7.0/includes/admin/class.twitchpress-admin-users.php (added)
-
tags/3.7.0/includes/admin/class.twitchpress-admin.php (added)
-
tags/3.7.0/includes/admin/dashboard (added)
-
tags/3.7.0/includes/admin/dashboard/class.twitchpress-dashboard-mychannel.php (added)
-
tags/3.7.0/includes/admin/functions.twitchpress-admin.php (added)
-
tags/3.7.0/includes/admin/notices (added)
-
tags/3.7.0/includes/admin/notices/custom-dismiss.php (added)
-
tags/3.7.0/includes/admin/notices/custom.php (added)
-
tags/3.7.0/includes/admin/notices/install.php (added)
-
tags/3.7.0/includes/admin/notices/update.php (added)
-
tags/3.7.0/includes/admin/notices/updated.php (added)
-
tags/3.7.0/includes/admin/notices/updating.php (added)
-
tags/3.7.0/includes/admin/settings (added)
-
tags/3.7.0/includes/admin/settings/class.twitchpress-settings-bugnet.php (added)
-
tags/3.7.0/includes/admin/settings/class.twitchpress-settings-general.php (added)
-
tags/3.7.0/includes/admin/settings/class.twitchpress-settings-giveaways.php (added)
-
tags/3.7.0/includes/admin/settings/class.twitchpress-settings-kraken.php (added)
-
tags/3.7.0/includes/admin/settings/class.twitchpress-settings-otherapi.php (added)
-
tags/3.7.0/includes/admin/settings/class.twitchpress-settings-page.php (added)
-
tags/3.7.0/includes/admin/settings/class.twitchpress-settings-readonly.php (added)
-
tags/3.7.0/includes/admin/settings/class.twitchpress-settings-users.php (added)
-
tags/3.7.0/includes/admin/views (added)
-
tags/3.7.0/includes/admin/views/dataviews (added)
-
tags/3.7.0/includes/admin/views/dataviews/class.twitchpress-all-actionhooks.php (added)
-
tags/3.7.0/includes/admin/views/dataviews/class.twitchpress-all-apiactivity.php (added)
-
tags/3.7.0/includes/admin/views/dataviews/class.twitchpress-all-apierrors.php (added)
-
tags/3.7.0/includes/admin/views/dataviews/class.twitchpress-all-bugnet-issues.php (added)
-
tags/3.7.0/includes/admin/views/dataviews/class.twitchpress-all-twitchsubs.php (added)
-
tags/3.7.0/includes/admin/views/dataviews/class.twitchpress-allcachetraces-bugnet.php (added)
-
tags/3.7.0/includes/admin/views/dataviews/class.twitchpress-apioutcomes.php (added)
-
tags/3.7.0/includes/admin/views/dataviews/class.twitchpress-endpoints.php (added)
-
tags/3.7.0/includes/admin/views/dataviews/class.twitchpress-last10cachetraces-bugnet.php (added)
-
tags/3.7.0/includes/admin/views/dataviews/class.twitchpress-lasthourcachetraces-bugnet.php (added)
-
tags/3.7.0/includes/admin/views/dataviews/class.twitchpress-listtable-actionhooks.php (added)
-
tags/3.7.0/includes/admin/views/dataviews/class.twitchpress-listtable-apiactivity.php (added)
-
tags/3.7.0/includes/admin/views/dataviews/class.twitchpress-listtable-apierrors.php (added)
-
tags/3.7.0/includes/admin/views/dataviews/class.twitchpress-listtable-apioutcomes.php (added)
-
tags/3.7.0/includes/admin/views/dataviews/class.twitchpress-listtable-bugnet-issues.php (added)
-
tags/3.7.0/includes/admin/views/dataviews/class.twitchpress-listtable-demo-bugnet.php (added)
-
tags/3.7.0/includes/admin/views/dataviews/class.twitchpress-listtable-endpoints.php (added)
-
tags/3.7.0/includes/admin/views/dataviews/class.twitchpress-listtable-twitchsubs.php (added)
-
tags/3.7.0/includes/admin/views/dataviews/class.twitchpress-todayscachetraces-bugnet.php (added)
-
tags/3.7.0/includes/admin/views/dataviews/class.twitchpress-twitch-apiactivity.php (added)
-
tags/3.7.0/includes/admin/views/dataviews/class.twitchpress-view-trace.php (added)
-
tags/3.7.0/includes/admin/views/html-admin-data.php (added)
-
tags/3.7.0/includes/admin/views/html-admin-page.php (added)
-
tags/3.7.0/includes/admin/views/html-admin-settings.php (added)
-
tags/3.7.0/includes/admin/views/toolsviews (added)
-
tags/3.7.0/includes/admin/views/toolsviews/class.twitchpress-listtable-accounts.php (added)
-
tags/3.7.0/includes/admin/views/toolsviews/class.twitchpress-listtable-tools.php (added)
-
tags/3.7.0/includes/admin/views/toolsviews/class.twitchpress-tools-all.php (added)
-
tags/3.7.0/includes/blocks (added)
-
tags/3.7.0/includes/blocks/class.twitchpress-blocks.php (added)
-
tags/3.7.0/includes/blocks/css (added)
-
tags/3.7.0/includes/blocks/css/style.css (added)
-
tags/3.7.0/includes/blocks/scripts (added)
-
tags/3.7.0/includes/blocks/scripts/embed-everything.js (added)
-
tags/3.7.0/includes/blocks/scripts/twitch-bits-leaderboard.js (added)
-
tags/3.7.0/includes/blocks/scripts/twitch-display-single-video.js (added)
-
tags/3.7.0/includes/blocks/scripts/twitch-display-videos.js (added)
-
tags/3.7.0/includes/blocks/scripts/twitch-giving-channel-chat.js (added)
-
tags/3.7.0/includes/blocks/scripts/twitch-live-vid-interactive.js (added)
-
tags/3.7.0/includes/blocks/scripts/twitch-live-vid-none-interactive.js (added)
-
tags/3.7.0/includes/blocks/scripts/twitch-main-channel-chat.js (added)
-
tags/3.7.0/includes/blocks/scripts/twitch-members-only.js (added)
-
tags/3.7.0/includes/blocks/scripts/twitch-top-games-list.js (added)
-
tags/3.7.0/includes/classes (added)
-
tags/3.7.0/includes/classes/class.twitchpress-admin-bot-auth.php (added)
-
tags/3.7.0/includes/classes/class.twitchpress-ajax.php (added)
-
tags/3.7.0/includes/classes/class.twitchpress-api-logging.php (added)
-
tags/3.7.0/includes/classes/class.twitchpress-autoloader.php (added)
-
tags/3.7.0/includes/classes/class.twitchpress-background-updater.php (added)
-
tags/3.7.0/includes/classes/class.twitchpress-curl.php (added)
-
tags/3.7.0/includes/classes/class.twitchpress-current-user.php (added)
-
tags/3.7.0/includes/classes/class.twitchpress-custom-login-notices.php (added)
-
tags/3.7.0/includes/classes/class.twitchpress-extend-wp-http-curl.php (added)
-
tags/3.7.0/includes/classes/class.twitchpress-extension-installer.php (added)
-
tags/3.7.0/includes/classes/class.twitchpress-frontend-scripts.php (added)
-
tags/3.7.0/includes/classes/class.twitchpress-listener-main-account-oauth.php (added)
-
tags/3.7.0/includes/classes/class.twitchpress-listener.php (added)
-
tags/3.7.0/includes/classes/class.twitchpress-login-by-shortcode.php (added)
-
tags/3.7.0/includes/classes/class.twitchpress-login.php (added)
-
tags/3.7.0/includes/classes/class.twitchpress-object-registry.php (added)
-
tags/3.7.0/includes/classes/class.twitchpress-options.php (added)
-
tags/3.7.0/includes/classes/class.twitchpress-posts-gate.php (added)
-
tags/3.7.0/includes/classes/class.twitchpress-public-preset-notices.php (added)
-
tags/3.7.0/includes/classes/class.twitchpress-set-app.php (added)
-
tags/3.7.0/includes/classes/class.twitchpress-set-bot-channel-auth.php (added)
-
tags/3.7.0/includes/classes/class.twitchpress-set-main-channel-auth.php (added)
-
tags/3.7.0/includes/classes/class.twitchpress-set-user-auth.php (added)
-
tags/3.7.0/includes/classes/class.twitchpress-sync.php (added)
-
tags/3.7.0/includes/classes/class.twitchpress-tables-installation.php (added)
-
tags/3.7.0/includes/external (added)
-
tags/3.7.0/includes/external/class.twitchpress-wordpressorg.php (added)
-
tags/3.7.0/includes/functions (added)
-
tags/3.7.0/includes/functions/functions.twitchpress-database.php (added)
-
tags/3.7.0/includes/functions/functions.twitchpress-deprecated.php (added)
-
tags/3.7.0/includes/functions/functions.twitchpress-formatting.php (added)
-
tags/3.7.0/includes/functions/functions.twitchpress-frontend-notices.php (added)
-
tags/3.7.0/includes/functions/functions.twitchpress-frontend.php (added)
-
tags/3.7.0/includes/functions/functions.twitchpress-get.php (added)
-
tags/3.7.0/includes/functions/functions.twitchpress-sanitize.php (added)
-
tags/3.7.0/includes/functions/functions.twitchpress-twitch-users.php (added)
-
tags/3.7.0/includes/functions/functions.twitchpress-validate.php (added)
-
tags/3.7.0/includes/functions/functions.twitchpress-widgets.php (added)
-
tags/3.7.0/includes/integration (added)
-
tags/3.7.0/includes/integration/class.twitchpress-ultimate-member.php (added)
-
tags/3.7.0/includes/libraries (added)
-
tags/3.7.0/includes/libraries/allapi (added)
-
tags/3.7.0/includes/libraries/allapi/class.all-api.php (added)
-
tags/3.7.0/includes/libraries/allapi/discord (added)
-
tags/3.7.0/includes/libraries/allapi/discord/class.api-discord-listener.php (added)
-
tags/3.7.0/includes/libraries/allapi/discord/class.api-discord.php (added)
-
tags/3.7.0/includes/libraries/allapi/streamlabs (added)
-
tags/3.7.0/includes/libraries/allapi/streamlabs/class.api-streamlabs-listener.php (added)
-
tags/3.7.0/includes/libraries/allapi/streamlabs/class.api-streamlabs.php (added)
-
tags/3.7.0/includes/libraries/allapi/streamlabs/functions.api-streamlabs-endpoints.php (added)
-
tags/3.7.0/includes/libraries/allapi/streamlabs/functions.api-streamlabs.php (added)
-
tags/3.7.0/includes/libraries/allapi/twitter (added)
-
tags/3.7.0/includes/libraries/allapi/twitter/class.twitter-api.php (added)
-
tags/3.7.0/includes/libraries/allapi/twitter/class.twitter-calls.php (added)
-
tags/3.7.0/includes/libraries/allapi/twitter/class.twitter-endpoints.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Auth (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Auth/Abstract.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Auth/AppIdentity.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Auth/AssertionCredentials.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Auth/ComputeEngine.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Auth/Exception.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Auth/LoginTicket.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Auth/OAuth2.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Auth/Simple.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Cache (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Cache/Abstract.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Cache/Apc.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Cache/Exception.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Cache/File.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Cache/Memcache.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Cache/Null.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Client.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Collection.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Config.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Exception.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Http (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Http/Batch.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Http/CacheParser.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Http/MediaFileUpload.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Http/REST.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Http/Request.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/IO (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/IO/Abstract.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/IO/Curl.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/IO/Exception.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/IO/Stream.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/IO/cacerts.pem (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Logger (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Logger/Abstract.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Logger/Exception.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Logger/File.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Logger/Null.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Logger/Psr.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Model.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/AdExchangeBuyer.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/AdExchangeSeller.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/AdSense.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/AdSenseHost.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Admin.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Analytics.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/AnalyticsReporting.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/AndroidEnterprise.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/AndroidPublisher.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/AppState.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Appengine.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Appsactivity.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Audit.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Autoscaler.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Bigquery.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Blogger.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Books.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Calendar.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/CivicInfo.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Classroom.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/CloudMonitoring.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/CloudUserAccounts.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Cloudbilling.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Cloudbuild.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Clouddebugger.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Cloudlatencytest.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Cloudresourcemanager.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Cloudsearch.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Cloudtrace.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Compute.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Computeaccounts.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Container.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Coordinate.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Customsearch.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/DataTransfer.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Dataflow.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Dataproc.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Datastore.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/DeploymentManager.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Dfareporting.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Directory.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Dns.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/DoubleClickBidManager.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Doubleclicksearch.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Drive.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Exception.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Fitness.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Freebase.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Fusiontables.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Games.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/GamesConfiguration.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/GamesManagement.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Genomics.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Gmail.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/GroupsMigration.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Groupssettings.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Iam.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/IdentityToolkit.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Kgsearch.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Licensing.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Logging.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Manager.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/MapsEngine.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Mirror.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Monitoring.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Oauth2.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Pagespeedonline.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Partners.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/People.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Playmoviespartner.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Plus.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/PlusDomains.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Prediction.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Proximitybeacon.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Pubsub.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/QPXExpress.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Replicapool.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Replicapoolupdater.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Reports.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Reseller.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Resource.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Resourceviews.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/SQLAdmin.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Script.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/ServiceRegistry.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Sheets.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/ShoppingContent.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/SiteVerification.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Spectrum.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Storage.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Storagetransfer.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/TagManager.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Taskqueue.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Tasks.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Translate.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Urlshortener.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Vision.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Webfonts.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/Webmasters.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/YouTube.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/YouTubeAnalytics.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Service/YouTubeReporting.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Signer (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Signer/Abstract.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Signer/P12.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Task (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Task/Exception.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Task/Retryable.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Task/Runner.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Utils (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Utils.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Utils/URITemplate.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Verifier (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Verifier/Abstract.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/Verifier/Pem.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/Google/autoload.php (added)
-
tags/3.7.0/includes/libraries/allapi/youtube/functions.api-youtube.php (added)
-
tags/3.7.0/includes/libraries/bugnet (added)
-
tags/3.7.0/includes/libraries/bugnet/bugnet.css (added)
-
tags/3.7.0/includes/libraries/bugnet/changes.txt (added)
-
tags/3.7.0/includes/libraries/bugnet/class.bugnet-apimonitoring.php (added)
-
tags/3.7.0/includes/libraries/bugnet/class.bugnet-configuration.php (added)
-
tags/3.7.0/includes/libraries/bugnet/class.bugnet-install-database.php (added)
-
tags/3.7.0/includes/libraries/bugnet/class.bugnet-install.php (added)
-
tags/3.7.0/includes/libraries/bugnet/class.bugnet-tracing.php (added)
-
tags/3.7.0/includes/libraries/bugnet/class.bugnet-uninstall.php (added)
-
tags/3.7.0/includes/libraries/bugnet/class.bugnet.php (added)
-
tags/3.7.0/includes/libraries/bugnet/functions.bugnet.php (added)
-
tags/3.7.0/includes/libraries/bugnet/notices (added)
-
tags/3.7.0/includes/libraries/bugnet/notices/class.bugnet-notices-administratorpermanent.php (added)
-
tags/3.7.0/includes/libraries/bugnet/readme.txt (added)
-
tags/3.7.0/includes/libraries/class.async-request.php (added)
-
tags/3.7.0/includes/libraries/class.background-process.php (added)
-
tags/3.7.0/includes/libraries/library.twitchbot.php (added)
-
tags/3.7.0/includes/libraries/twitch (added)
-
tags/3.7.0/includes/libraries/twitch/helix (added)
-
tags/3.7.0/includes/libraries/twitch/helix/class.twitch-api.php (added)
-
tags/3.7.0/includes/libraries/twitch/helix/class.twitch-webhooks.php (added)
-
tags/3.7.0/includes/libraries/twitch/helix/function.twitch-webhooks.php (added)
-
tags/3.7.0/includes/libraries/twitch/helix/functions.twitch-api-endpoints.php (added)
-
tags/3.7.0/includes/libraries/twitch/helix/functions.twitch-api-statuses.php (added)
-
tags/3.7.0/includes/libraries/twitch/kraken (added)
-
tags/3.7.0/includes/libraries/twitch/kraken/class.twitch-api-calls.php (added)
-
tags/3.7.0/includes/libraries/twitch/kraken/class.twitch-api.php (added)
-
tags/3.7.0/includes/libraries/twitch/kraken/functions.twitch-api-endpoints.php (added)
-
tags/3.7.0/includes/libraries/twitch/kraken/functions.twitch-api-statuses.php (added)
-
tags/3.7.0/includes/libraries/wpdialogue (added)
-
tags/3.7.0/includes/libraries/wpdialogue/functions.wpdialogue-templates.php (added)
-
tags/3.7.0/includes/libraries/wpdialogue/index.php (added)
-
tags/3.7.0/includes/posts (added)
-
tags/3.7.0/includes/posts/class.twitchpress-post-type-channels.php (added)
-
tags/3.7.0/includes/posts/class.twitchpress-post-type-giveaways.php (added)
-
tags/3.7.0/includes/posts/class.twitchpress-post-type-perks.php (added)
-
tags/3.7.0/includes/requests (added)
-
tags/3.7.0/includes/requests/developer-toolbar-requests.php (added)
-
tags/3.7.0/includes/shortcodes (added)
-
tags/3.7.0/includes/shortcodes/shortcode-follower-only-content.php (added)
-
tags/3.7.0/includes/shortcodes/shortcode-sync-buttons-public.php (added)
-
tags/3.7.0/includes/shortcodes/shortcode-ultimate-member-updater.php (added)
-
tags/3.7.0/includes/toolbars (added)
-
tags/3.7.0/includes/toolbars/class.twitchpress-toolbar-developers.php (added)
-
tags/3.7.0/includes/toolbars/class.twitchpress-toolbars.php (added)
-
tags/3.7.0/install.php (added)
-
tags/3.7.0/integration.php (added)
-
tags/3.7.0/license.txt (added)
-
tags/3.7.0/loader.php (added)
-
tags/3.7.0/meta.php (added)
-
tags/3.7.0/options.php (added)
-
tags/3.7.0/readme.txt (added)
-
tags/3.7.0/requests.php (added)
-
tags/3.7.0/shortcodes.php (added)
-
tags/3.7.0/systems (added)
-
tags/3.7.0/systems/giveaways (added)
-
tags/3.7.0/systems/giveaways/class.twitchpress-giveaways-config.php (added)
-
tags/3.7.0/systems/giveaways/class.twitchpress-giveaways-install-database.php (added)
-
tags/3.7.0/systems/giveaways/class.twitchpress-giveaways-install.php (added)
-
tags/3.7.0/systems/giveaways/class.twitchpress-giveaways.php (added)
-
tags/3.7.0/systems/giveaways/functions.twitchpress-giveaways.php (added)
-
tags/3.7.0/systems/giveaways/functions.twitchpress-raffles-shortcodes.php (added)
-
tags/3.7.0/systems/subscribers (added)
-
tags/3.7.0/systems/subscribers/shortcodes (added)
-
tags/3.7.0/systems/subscribers/shortcodes/functions.twitchpress-subman-shortcode-umrole-update.php (added)
-
tags/3.7.0/twitchpress.php (added)
-
tags/3.7.0/uninstall.php (added)
-
trunk/functions.php (modified) (4 diffs)
-
trunk/includes/admin/class.twitchpress-admin-quicktools.php (modified) (3 diffs)
-
trunk/includes/admin/class.twitchpress-admin-setup-wizard.php (modified) (8 diffs)
-
trunk/includes/admin/settings/class.twitchpress-settings-kraken.php (modified) (2 diffs)
-
trunk/includes/classes/class.twitchpress-set-user-auth.php (modified) (2 diffs)
-
trunk/includes/libraries/twitch/helix/class.twitch-api.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/twitchpress.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
twitchpress/trunk/functions.php
r2472434 r2473441 214 214 'bits:read' => array(),// View Bits information for your channel. 215 215 'clips:edit' => array(),// Manage a clip object. 216 'moderation:read' => array(),// View a channels moderation data including Moderators, Bans, Timeouts, and Automod settings 216 217 'user:edit' => array(),// Manage a user object. 217 218 'user:edit:broadcast' => array(),// Edit your channels broadcast configuration, including extension configuration. (This scope implies user:read:broadcast capability.) … … 248 249 $scope['bits:read']['label'] = __( 'New Helix Scope', 'twitchpress' ); 249 250 $scope['clips:edit']['label'] = __( 'New Helix Scope', 'twitchpress' ); 251 $scope['moderation:read']['label'] = __( 'Access Moderating Data', 'twitchpress' ); 250 252 $scope['user:edit']['label'] = __( 'New Helix Scope', 'twitchpress' ); 251 253 $scope['user:edit:broadcast']['label'] = __( 'New Helix Scope', 'twitchpress' ); … … 276 278 $scope['bits:read']['apidesc'] = __( 'New Helix Scope', 'twitchpress' ); 277 279 $scope['clips:edit']['apidesc'] = __( 'New Helix Scope', 'twitchpress' ); 280 $scope['moderation:read']['apidesc'] = __( 'View a channels moderation data including Moderators, Bans, Timeouts, and Automod settings.', 'twitchpress' ); 278 281 $scope['user:edit']['apidesc'] = __( 'New Helix Scope', 'twitchpress' ); 279 282 $scope['user:edit:broadcast']['apidesc'] = __( 'New Helix Scope', 'twitchpress' ); … … 304 307 $scope['bits:read']['userdesc'] = __( 'New Helix Scope', 'twitchpress' ); 305 308 $scope['clips:edit']['userdesc'] = __( 'New Helix Scope', 'twitchpress' ); 309 $scope['moderation:read']['apidesc'] = __( 'View a channels moderation data including Moderators, Bans, Timeouts, and Automod settings.', 'twitchpress' ); 306 310 $scope['user:edit']['userdesc'] = __( 'New Helix Scope', 'twitchpress' ); 307 311 $scope['user:edit:broadcast']['userdesc'] = __( 'New Helix Scope', 'twitchpress' ); -
twitchpress/trunk/includes/admin/class.twitchpress-admin-quicktools.php
r2472434 r2473441 35 35 public $return_tool_info = false; 36 36 37 /**38 * Mainly for hooks.39 */40 public static function init() {41 add_action( 'admin_init', array( __CLASS__, 'admin_request_listener' ) );42 }43 44 37 public function url( $tool_name ) { 45 38 $nonce = wp_create_nonce( 'tool_action' ); … … 881 874 } 882 875 } 876 877 /** 878 * Starts a commercial on the main channel. 879 * 880 * @version 1.0 881 */ 882 public function tool_start_commercial() { 883 $tool_info = array( 884 'title' => __( 'Star Commercial', 'multitool' ), 885 'description' => __( 'Starts a commercial on the main channel.', 'multitool' ), 886 'version' => '1.1', 887 'author' => 'Ryan Bayne', 888 'url' => '', 889 'category' => 'moderation', 890 'capability' => 'activate_plugins', 891 'option' => null, 892 'function' => __FUNCTION__, 893 'plugin' => 'TwitchPress', 894 ); 895 896 if( $this->return_tool_info ){ return $tool_info; } 897 898 if( !current_user_can( $tool_info['capability'] ) ) { return; } 899 900 $notices = new TwitchPress_Admin_Notices(); 901 902 $helix = new TWITCHPRESS_Twitch_API(); 903 904 $helix->start_commercial( twitchpress_get_main_channels_twitchid(), $length = 30 ); 905 906 $notices->error( __( 'EXAMPLE Application Not Ready', 'twitchpress-sync' ), __( 'A message here.', 'twitchpress' ) ); 907 908 909 /* 910 Your tools unique code goes here. Make it do something! 911 */ 912 } 913 883 914 } 884 915 … … 886 917 887 918 $QuickTools = new TwitchPress_Tools(); 888 $QuickTools->init();919 add_action( 'init', array( $QuickTools, 'admin_request_listener' ), 5 ); 889 920 unset($QuickTools); -
twitchpress/trunk/includes/admin/class.twitchpress-admin-setup-wizard.php
r2472434 r2473441 225 225 <?php if( $this->optional ) { ?> 226 226 227 <p><?php _e( 'Thank you for choosing TwitchPress! The setup wizard will walk you through some essential settings and explain the changes being made to your blog. <strong>It ’s completely optional and shouldn’t take longer than five minutes.</strong>', 'twitchpress' ); ?></p>228 <p><?php _e( 'No time right now? If you don ’t want to go through the wizard, you can skip and return to the WordPress dashboard. You will be able to use the plugin but you might miss some features!', 'twitchpress' ); ?></p>227 <p><?php _e( 'Thank you for choosing TwitchPress! The setup wizard will walk you through some essential settings and explain the changes being made to your blog. <strong>Itâs completely optional and shouldnât take longer than five minutes.</strong>', 'twitchpress' ); ?></p> 228 <p><?php _e( 'No time right now? If you donât want to go through the wizard, you can skip and return to the WordPress dashboard. You will be able to use the plugin but you might miss some features!', 'twitchpress' ); ?></p> 229 229 <p class="twitchpress-setup-actions step"> 230 230 <a href="<?php echo esc_url( $this->get_next_step_link() ); ?>" class="button-primary button button-large button-next"><?php _e( 'Let\'s Go!', 'twitchpress' ); ?></a> … … 234 234 <?php } else { ?> 235 235 236 <p><?php _e( 'Thank you for choosing TwitchPress! The setup wizard will walk you through some essential settings and explain the changes being made to your blog. <strong>It is required before you can use the plugin but it shouldn ’t take longer than five minutes.</strong> You will be asked to enter your Twitch Application credentials. If you do not have time to do this right now. Please click on the "Not Right Now" button below.', 'twitchpress' ); ?></p>236 <p><?php _e( 'Thank you for choosing TwitchPress! The setup wizard will walk you through some essential settings and explain the changes being made to your blog. <strong>It is required before you can use the plugin but it shouldnât take longer than five minutes.</strong> You will be asked to enter your Twitch Application credentials. If you do not have time to do this right now. Please click on the "Not Right Now" button below.', 'twitchpress' ); ?></p> 237 237 238 238 <h1><?php _e( 'Twitch Developer Services Agreement', 'twitchpress' ); ?></h1> … … 380 380 <td> 381 381 <input type="checkbox" id="twitchpress_scope_communities_edit" name="twitchpress_scopes[]" class="input-checkbox" value="communities_edit" <?php checked( get_option( 'twitchpress_scope_communities_edit' ), 'yes', true ); ?> /> 382 <label for="twitchpress_scope_communities_edit"><?php _e( 'Manage a user ’s communities.', 'twitchpress' ); ?></label>382 <label for="twitchpress_scope_communities_edit"><?php _e( 'Manage a userâs communities.', 'twitchpress' ); ?></label> 383 383 </td> 384 384 </tr> … … 394 394 <td> 395 395 <input type="checkbox" id="twitchpress_scope_collections_edit" name="twitchpress_scopes[]" class="input-checkbox" value="collections_edit" <?php checked( get_option( 'twitchpress_scope_collections_edit' ), 'yes', true ); ?> /> 396 <label for="twitchpress_scope_collections_edit"><?php _e( 'Manage a user ’s collections (of videos).', 'twitchpress' ); ?></label>396 <label for="twitchpress_scope_collections_edit"><?php _e( 'Manage a userâs collections (of videos).', 'twitchpress' ); ?></label> 397 397 </td> 398 398 </tr> … … 439 439 </td> 440 440 </tr> 441 <tr> 442 <th scope="row"><label for="twitchpress_scope_moderation_read"><?php _e( 'moderation:read', 'twitchpress' ); ?></label></th> 443 <td> 444 <input type="checkbox" id="twitchpress_scope_moderation_read" name="twitchpress_scopes[]" class="input-checkbox" value="moderation_read" <?php checked( get_option( 'twitchpress_scope_moderation_read' ), 'yes', true ); ?> /> 445 <label for="twitchpress_scope_moderation_read"><?php _e( 'View a channels moderation data including Moderators, Bans, Timeouts, and Automod settings.', 'twitchpress' ); ?></label> 446 </td> 447 </tr> 441 448 <tr> 442 449 <th scope="row"><label for="twitchpress_scope_user_edit"><?php _e( 'user:edit', 'twitchpress' ); ?></label></th> … … 575 582 <td> 576 583 <input type="checkbox" id="twitchpress_visitor_scope_communities_edit" name="twitchpress_visitor_scopes[]" class="input-checkbox" value="communities_edit" <?php checked( get_option( 'twitchpress_visitor_scope_communities_edit' ), 'yes', true ); ?> /> 577 <label for="twitchpress_visitor_scope_communities_edit"><?php _e( 'Manage a user ’s communities.', 'twitchpress' ); ?></label>584 <label for="twitchpress_visitor_scope_communities_edit"><?php _e( 'Manage a userâs communities.', 'twitchpress' ); ?></label> 578 585 </td> 579 586 </tr> … … 589 596 <td> 590 597 <input type="checkbox" id="twitchpress_visitor_scope_collections_edit" name="twitchpress_visitor_scopes[]" class="input-checkbox" value="collections_edit" <?php checked( get_option( 'twitchpress_visitor_scope_collections_edit' ), 'yes', true ); ?> /> 591 <label for="twitchpress_visitor_scope_collections_edit"><?php _e( 'Manage a user ’s collections (of videos).', 'twitchpress' ); ?></label>598 <label for="twitchpress_visitor_scope_collections_edit"><?php _e( 'Manage a userâs collections (of videos).', 'twitchpress' ); ?></label> 592 599 </td> 593 600 </tr> … … 632 639 <input type="checkbox" id="twitchpress_visitor_scope_clips_edit" name="twitchpress_visitor_scopes[]" class="input-checkbox" value="clips_edit" <?php checked( get_option( 'twitchpress_visitor_scope_clips_edit' ), 'yes', true ); ?> /> 633 640 <label for="twitchpress_visitor_scope_clips_edit"><?php _e( 'New Helix Scope.', 'twitchpress' ); ?></label> 641 </td> 642 </tr> 643 <tr> 644 <th scope="row"><label for="twitchpress_visitor_scope_moderation_read"><?php _e( 'moderation:read', 'twitchpress' ); ?></label></th> 645 <td> 646 <input type="checkbox" id="twitchpress_visitor_scope_moderation_read" name="twitchpress_visitor_scopes[]" class="input-checkbox" value="clips_edit" <?php checked( get_option( 'twitchpress_visitor_scope_moderation_read' ), 'yes', true ); ?> /> 647 <label for="twitchpress_visitor_scope_moderation_read"><?php _e( 'View a channels moderation data including Moderators, Bans, Timeouts, and Automod settings.', 'twitchpress' ); ?></label> 634 648 </td> 635 649 </tr> -
twitchpress/trunk/includes/admin/settings/class.twitchpress-settings-kraken.php
r2472434 r2473441 414 414 'scope' => 'clips_edit', 415 415 ), 416 417 array( 418 'desc' => __( 'moderation:read: View moderation data.', 'twitchpress' ), 419 'id' => 'twitchpress_scope_moderation_read', 420 'default' => $default, 421 'type' => 'scopecheckbox', 422 'checkboxgroup' => '', 423 'show_if_checked' => 'yes', 424 'autoload' => false, 425 'scope' => 'moderation_read', 426 ), 416 427 417 428 array( … … 701 712 'autoload' => false, 702 713 'scope' => 'clips_edit', 714 ), 715 716 array( 717 'desc' => __( 'moderation:read: Get moderation data.', 'twitchpress' ), 718 'id' => 'twitchpress_visitor_scope_moderation_read', 719 'default' => $default, 720 'type' => 'scopecheckboxpublic', 721 'checkboxgroup' => '', 722 'show_if_checked' => 'yes', 723 'autoload' => false, 724 'scope' => 'moderation_read', 703 725 ), 704 726 -
twitchpress/trunk/includes/classes/class.twitchpress-set-user-auth.php
r2472434 r2473441 19 19 public $wp_user_id = null; 20 20 21 function set( $wp_user_id ) { 21 function set( $wp_user_id ) { 22 22 $this->user_twitch_id = get_user_meta( $wp_user_id, 'twitchpress_twitch_id', true ); 23 23 $this->user_bio = get_user_meta( $wp_user_id, 'twitch_bio', true ); … … 50 50 endif; 51 51 52 /** 53 * Setup te current users oAuth2 credentials. 54 * 55 * @version 2.0 56 */ 52 57 function twitchpress_init_current_user_twitch_oauth() { 53 58 if( !is_user_logged_in() ) { return; } 54 59 $set_user = new TwitchPress_Set_User(); 55 $set_user->set( wp_get_current_user() );60 $set_user->set( wp_get_current_user()->ID ); 56 61 TwitchPress_Object_Registry::add( 'currentusertwitch', $set_user ); 57 62 unset( $set_user ); -
twitchpress/trunk/includes/libraries/twitch/helix/class.twitch-api.php
r2472434 r2473441 281 281 282 282 /** 283 * NEWER APPROACH ------ STILL DOESNT WORK 284 * 283 285 * Alternative approach to requests... 284 286 * … … 299 301 */ 300 302 public function Twitch_Request( $type, $endpoint, $headers = array(), $body = array(), $additional = array() ) { 303 304 /* NEWER APPROACH ------ STILL DOESNT WORK */ 305 301 306 // Create new curl object for performing an API call... 302 307 $new_curl = new TwitchPress_Extend_WP_Http_Curl(); … … 689 694 690 695 $this->curl( __FILE__, __FUNCTION__, __LINE__, 'POST', $endpoint ); 691 692 //$this->curl_object->grant_type = 'refresh_token';693 694 //$this->curl_object->refresh_token = $token_refresh;695 696 696 $this->curl_object->client_secret = twitchpress_get_app_secret(); 697 698 697 $this->curl_object->scope = twitchpress_prepare_scopes( twitchpress_get_visitor_scopes() ); 699 700 //$this->curl_object->add_headers( array( 'Client_Secret' => twitchpress_get_app_secret() ) );701 702 698 $this->call(); 703 699 … … 1870 1866 return $this->curl_object->curl_reply_body; 1871 1867 } 1868 1869 /** 1870 * Starts a commercial on a specified channel. 1871 * 1872 * @link https://dev.twitch.tv/docs/api/reference#start-commercial 1873 * 1874 * @param mixed $broadcaster_id 1875 * @param mixed $length 1876 * 1877 * @version 1.0 1878 */ 1879 public function start_commercial( $broadcaster_id, $length = 30 ) { 1880 $endpoint = 'https://api.twitch.tv/helix/channels/commercial'; 1881 $endpoint = add_query_arg( array( 1882 'broadcaster_id' => $broadcaster_id, 1883 'length' => $length, 1884 ), $endpoint ); 1885 1886 $this->curl( __FILE__, __FUNCTION__, __LINE__, 'POST', $endpoint ); 1887 1888 $this->curl_object->add_headers( array( 1889 "Authorization" => 'Bearer ' . twitchpress_get_user_token( 1 ), 1890 "Client-ID" => twitchpress_get_app_id( true ), 1891 ) ); 1892 1893 $this->call(); 1894 1895 twitchpress_var_dump_safer( $this ); 1896 1897 if( $this->curl_object->call_result == true ) 1898 { 1899 return $this->curl_object->curl_reply_body; 1900 } 1901 else 1902 { 1903 return false; 1904 } 1905 } 1872 1906 } 1873 1907 -
twitchpress/trunk/readme.txt
r2472434 r2473441 7 7 Requires at least: 5.2 8 8 Tested up to: 5.5 9 Stable tag: 3. 6.19 Stable tag: 3.7.0 10 10 Requires PHP: 5.6 11 11 … … 52 52 Translator needed to localize the Channel Solution for Twitch. 53 53 54 == Changelog == 54 == Changelog == 55 = 3.7.0 Released 12th February 2021 = 56 * Faults Resolved 57 - A fix relating to users API credentials not loading properly. 58 * Feature Improvements 59 - New Scope: moderation:read 60 * Technical Notes 61 - None 62 * Configuration Advice 63 - None 64 * Database Changes 65 - None= 66 55 67 = 3.6.1 Released 8th February 2021 = 56 68 * Faults Resolved -
twitchpress/trunk/twitchpress.php
r2472434 r2473441 5 5 * Github URI: https://github.com/RyanBayne/TwitchPress 6 6 * Description: Add the power of Twitch.tv to WordPress 7 * Version: 3. 6.17 * Version: 3.7.0 8 8 * Author: Ryan Bayne 9 9 * Author URI: https://ryanbayne.wordpress.com/ … … 15 15 */ 16 16 17 const TWITCHPRESS_VERSION = '3. 6.1';17 const TWITCHPRESS_VERSION = '3.7.0'; 18 18 19 19 // Exit if accessed directly.
Note: See TracChangeset
for help on using the changeset viewer.