Skip to content
Open
Show file tree
Hide file tree
Changes from 10 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
5af561a
Add a reusable activation URL API for PHP and JS
dave-green-uk Jul 22, 2026
af49f7d
Build frontend assets
dave-green-uk Jul 22, 2026
d97364c
Fix the default activation redirect landing on a WordPress error page
dave-green-uk Jul 22, 2026
7de8400
Correct the enqueue timing guidance for the activation script
dave-green-uk Jul 22, 2026
d3fc2b1
Correct the rationale for the canonical redirect URL
dave-green-uk Jul 22, 2026
bd1a42a
Use US spelling in the activation URL test docblock
dave-green-uk Jul 22, 2026
f4b36ce
Refresh licensing data when the portal returns a user to the site
dave-green-uk Jul 22, 2026
d78dad3
Fix fallout from moving the refresh out of the admin page
dave-green-uk Jul 22, 2026
1c8efec
Realign the constructor docblock after dropping a parameter
dave-green-uk Jul 22, 2026
0a4a279
Check the return tag before resolving the refresh handler
dave-green-uk Jul 22, 2026
dc9f24f
Expose activation URLs through stable global functions
dave-green-uk Jul 24, 2026
006b85b
Align the activation-URL doc tables to satisfy markdownlint
dave-green-uk Jul 24, 2026
081c461
Address review feedback on the activation URL API
dave-green-uk Jul 27, 2026
189b9c1
Stop suppressing exit() in the test suite
dave-green-uk Jul 27, 2026
cf6ed65
Fix the redirect stand-in's class scope and a docblock tag
dave-green-uk Jul 27, 2026
a5f52f1
Warn at runtime when the deprecated redirect handler is called
dave-green-uk Jul 27, 2026
7c0651b
Merge bucket/activation-flow-api into the activation URL API branch
dave-green-uk Jul 28, 2026
bc40333
Address the second review round on the activation URL API
dave-green-uk Jul 28, 2026
e203f94
Build frontend assets
dave-green-uk Jul 28, 2026
38455b8
Isolate the enqueue hook in the script dependency tests
dave-green-uk Jul 28, 2026
f981248
Return null rather than an empty string when there is no activation URL
dave-green-uk Jul 28, 2026
6ebaeef
Expose product license lookups so consumers need not touch internal c…
dave-green-uk Jul 30, 2026
e58fb2f
Drop the browser activation helper in favour of building URLs in PHP
dave-green-uk Aug 12, 2026
11d89ed
Let the return handler decide whether a request is a return trip
dave-green-uk Aug 12, 2026
ae32efd
Cover the compiled asset resolver with unit tests
dave-green-uk Aug 12, 2026
4067013
Drop the changelog note for an argument that never shipped
dave-green-uk Aug 12, 2026
2c50995
Qualify the base activation URL function as product activation
dave-green-uk Aug 12, 2026
f8df048
Fix two spellings cspell rejects
dave-green-uk Aug 12, 2026
4735e06
Inject the catalog repository rather than service-locating it
dave-green-uk Aug 12, 2026
a52253b
remove LiquidWeb\Harbor\Utils\Assets class
pramodjodhani Aug 14, 2026
d6ebc7b
Merge branch 'smtnc-1844-harbor-expose-a-reusable-activation-url-api-…
pramodjodhani Aug 14, 2026
6375aac
remove AssetsTest.php
pramodjodhani Aug 14, 2026
96ade84
repalce maybe_refresh_after_activation with closure/anon funciton
pramodjodhani Aug 14, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions build-dev/activation.asset.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => 'ab69f34667398c80fadf');
148 changes: 148 additions & 0 deletions build-dev/activation.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build-dev/activation.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build-dev/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '15d9bcfeaaf63bae053a');
<?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '3788ff0adcebe4512b9e');
2 changes: 1 addition & 1 deletion build-dev/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5740,7 +5740,7 @@ const expiryTextClass = {
* Keys with two or fewer dash-delimited segments have nothing safe to mask
* (no middle to hide), so they are returned unchanged.
*
* @since TBD
* @since 1.5.0
Comment thread
d4mation marked this conversation as resolved.
*/
function maskLicenseKey(key) {
const segments = key.split('-');
Expand Down
2 changes: 1 addition & 1 deletion build-dev/index.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions build/activation.asset.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => '9221f4ca9e52af97fee3');
1 change: 1 addition & 0 deletions build/activation.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions changelog/smtnc-1844-activation-return-refresh.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
significance: minor
type: feature
entry: Licensing data is now refreshed automatically when the Liquid Web portal returns a user to the site after activating, so screens gated on license state are correct on arrival. Host plugins need no code for this; sending the user through an Activation_Url is the whole opt-in
timestamp: 2026-07-22T00:00:00.000Z
4 changes: 4 additions & 0 deletions changelog/smtnc-1844-activation-url-api.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
significance: minor
type: feature
entry: Added a reusable activation URL API. Host plugins can build Liquid Web portal activation URLs from PHP via the Activation_Url service, or in the browser via the shared lw-harbor-activation script, which exposes window.lwHarbor.buildActivationUrl()
timestamp: 2026-07-22T00:00:00.000Z
Loading
Loading