Changeset 3406702
- Timestamp:
- 12/01/2025 10:32:46 AM (3 months ago)
- Location:
- gam-ads-ad-manager-and-ad-exchange
- Files:
-
- 2 edited
-
tags/1.0.2/includescore/ajax-handlers.php (modified) (2 diffs)
-
trunk/includescore/ajax-handlers.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
gam-ads-ad-manager-and-ad-exchange/tags/1.0.2/includescore/ajax-handlers.php
r3406661 r3406702 621 621 'expires_at' => time() + (int)($token['expires_in'] ?? 0), 622 622 ]; 623 update_option('gam_ads_ad_manager_and_ad_exchange_tokens', $normalized); 623 624 // Fetch networks 624 625 // require_once gamadsmbai_PLUGIN_DIR . 'vendor/autoload.php'; … … 629 630 count($networks) > 0 630 631 ) { 631 update_option('gam_ads_ad_manager_and_ad_exchange_tokens', $normalized);632 632 wp_send_json_success([ 633 633 'message' => '✅ Token and Networks saved successfully' 634 634 ]); 635 635 } else { 636 delete_option('gam_ads_ad_manager_and_ad_exchange_tokens'); 636 637 wp_send_json_error(['message' => "⚠️ Can't find networks, try with other email"]); 637 638 } -
gam-ads-ad-manager-and-ad-exchange/trunk/includescore/ajax-handlers.php
r3406661 r3406702 621 621 'expires_at' => time() + (int)($token['expires_in'] ?? 0), 622 622 ]; 623 update_option('gam_ads_ad_manager_and_ad_exchange_tokens', $normalized); 623 624 // Fetch networks 624 625 // require_once gamadsmbai_PLUGIN_DIR . 'vendor/autoload.php'; … … 629 630 count($networks) > 0 630 631 ) { 631 update_option('gam_ads_ad_manager_and_ad_exchange_tokens', $normalized);632 632 wp_send_json_success([ 633 633 'message' => '✅ Token and Networks saved successfully' 634 634 ]); 635 635 } else { 636 delete_option('gam_ads_ad_manager_and_ad_exchange_tokens'); 636 637 wp_send_json_error(['message' => "⚠️ Can't find networks, try with other email"]); 637 638 }
Note: See TracChangeset
for help on using the changeset viewer.