Skip to content

fix(connect): premium flips on at connect time; upsell links reach the connect tab (#71 #72) - #74

Merged
cport1 merged 1 commit into
mainfrom
fix/connect-funnel-polish
Aug 18, 2026
Merged

fix(connect): premium flips on at connect time; upsell links reach the connect tab (#71 #72)#74
cport1 merged 1 commit into
mainfrom
fix/connect-funnel-polish

Conversation

@cport1

@cport1 cport1 commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Closes #71. Closes #72. Ships as 2.4.1 (version bumps included).

  • store_cloud_credentials() now calls set_api_status_cache('active') instead of only clearing: its sole caller is the connect flow immediately after a successful exchange, so the key is known-good and is_premium() gates (JS verification token injection, violation reporter) turn on instantly. The option-update hook fires during update_options_raw, so the set lands after the hook's clear and survives.
  • Dashboard widget: #tab-cloud hash → &tab=cloud (the only form tab resolution reads).
  • Statistics upsell: off-site /pricing link → in-admin connect tab, button copy now "Connect to WebDecoy Cloud".

84/84 tests pass, php -l clean. After merge: bin/release-all.sh 2.4.1 --publish from main.

…e connect tab (#71 #72) + 2.4.1

store_cloud_credentials() now marks the API status active instead of
only clearing the cache: its only caller is the connect flow, right
after a successful token exchange, so the key is known-good and
is_premium() should not wait for a lazy revalidation while the user is
watching their freshly connected site do nothing.

Dashboard widget deep link used a #tab-cloud hash the settings page
ignores (it only reads ?tab=cloud); the Statistics upsell sent people
off-site to /pricing instead of the in-admin connect CTA.
@cport1
cport1 merged commit 2ff87d3 into main Aug 18, 2026
3 checks passed
@cport1
cport1 deleted the fix/connect-funnel-polish branch August 18, 2026 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant