Changeset 3327844
- Timestamp:
- 07/15/2025 12:35:08 AM (9 months ago)
- Location:
- patreon-connect/trunk
- Files:
-
- 5 edited
-
CHANGELOG.md (modified) (1 diff)
-
classes/patreon_oauth.php (modified) (1 diff)
-
classes/patreon_wordpress.php (modified) (1 diff)
-
patreon.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
patreon-connect/trunk/CHANGELOG.md
r3324881 r3327844 1 = 1.9.14 = 2 3 * Fixed: Webhook deletion logic no longer gets stuck in a loop when the API 4 returns a 404 - such responses are now treated as successful deletions 5 * Added: Query parameter to POST api/oauth2/token requests to indicate if the 6 refresh is for a creator access token, for improved API-side debugging 7 1 8 = 1.9.13 = 2 9 -
patreon-connect/trunk/classes/patreon_oauth.php
r3320377 r3327844 47 47 { 48 48 $api_endpoint = 'https://'.PATREON_HOST.'/api/oauth2/token'; 49 50 if ($disable_app_on_auth_err) { 51 // Debugging high number of 401s to the token API. Try to indicate 52 // whether the refresh event is for a creator token or not. Use the 53 // $disable_app_on_auth_err is usually set to true when working with 54 // creator access token. 55 $api_endpoint = $api_endpoint.'?is_creator_access=true'; 56 } else { 57 $api_endpoint = $api_endpoint.'?is_creator_access=false'; 58 } 49 59 50 60 $headers = PatreonApiUtil::get_default_headers(); -
patreon-connect/trunk/classes/patreon_wordpress.php
r3324881 r3327844 3027 3027 3028 3028 // If delete is successful remove the local info about webhook 3029 if (is_array($webhook_delete) and isset($webhook_delete['response']['code']) and '204' == $webhook_delete['response']['code']) {3029 if (is_array($webhook_delete) and isset($webhook_delete['response']['code']) and in_array($webhook_delete['response']['code'], ['204', '404'])) { 3030 3030 update_option('patreon-post-sync-webhook-saved', false); 3031 3031 delete_option('patreon-post-sync-webhook'); -
patreon-connect/trunk/patreon.php
r3324881 r3327844 5 5 Plugin URI: https://www.patreon.com/apps/wordpress 6 6 Description: Patron-only content, directly on your website. 7 Version: 1.9.1 37 Version: 1.9.14 8 8 Author: Patreon <platform@patreon.com> 9 9 Author URI: https://patreon.com … … 70 70 define('PATREON_NO_LOCKING_LEVEL_SET_FOR_THIS_POST', 'Post is already public. If you would like to lock this post, please set a pledge level for it'); 71 71 define('PATREON_NO_POST_ID_TO_UNLOCK_POST', 'Sorry - could not get the post id for this locked post'); 72 define('PATREON_WORDPRESS_VERSION', '1.9.1 3');72 define('PATREON_WORDPRESS_VERSION', '1.9.14'); 73 73 define('PATREON_WORDPRESS_BETA_STRING', ''); 74 74 define('PATREON_WORDPRESS_PLUGIN_SLUG', plugin_basename(__FILE__)); -
patreon-connect/trunk/readme.txt
r3324881 r3327844 5 5 Requires PHP: 7.4 6 6 Tested up to: 6.8.1 7 Stable tag: 1.9.1 37 Stable tag: 1.9.14 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 79 79 80 80 == Upgrade Notice == 81 82 = 1.9.14 = 83 84 * Fixed: Webhook deletion logic no longer gets stuck in a loop when the API 85 returns a 404 - such responses are now treated as successful deletions 86 * Added: Query parameter to POST api/oauth2/token requests to indicate if the 87 refresh is for a creator access token, for improved API-side debugging 81 88 82 89 = 1.9.13 = … … 572 579 == Changelog == 573 580 574 = 1.9.1 3=575 576 * Fixed: Success message no longer shows when the connection fails577 * Fixed: Stopped unnecessary creator token refreshes578 * Added: Automatic check to re-verify broken connections579 * Improved: Connection error message is now more informative 581 = 1.9.14 = 582 583 * Fixed: Webhook deletion logic no longer gets stuck in a loop when the API 584 returns a 404 - such responses are now treated as successful deletions 585 * Added: Query parameter to POST api/oauth2/token requests to indicate if the 586 refresh is for a creator access token, for improved API-side debugging
Note: See TracChangeset
for help on using the changeset viewer.