Repository navigation
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
|
CI update for commit The only failed check is |
… optional Custom domains saved before this release, set with WP-CLI, or saved before a salt rotation now keep loading scripts. Changing the domain still requires unfiltered_html, which is the check that stops site administrators on multisite from choosing a script origin, so the approval hash is removed. Pasted URLs are reduced to their hostname, and a rejected change or an unusable saved value is explained beside the field, where the settings page shows it. Network administrators are excluded only when "Network administrator (Super Admin)" is selected among the roles, so existing sites keep collecting their visits. With no roles selected, every logged-in user stays excluded. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
| schedule: | ||
| - cron: "0 8 * * 1" # At 08:00 on Monday. | ||
| workflow_dispatch: # Allows manual triggering | ||
| workflow_dispatch: # Releases require an explicit manual trigger on main. |
There was a problem hiding this comment.
Keep the weekly run: every Monday it tests new WordPress versions and releases when anything changed. This restores only the trigger and keeps this PR's pinned actions, permissions and concurrency.
| workflow_dispatch: # Releases require an explicit manual trigger on main. | |
| schedule: | |
| - cron: "0 8 * * 1" # At 08:00 on Monday: test new WordPress versions and release when anything changed. | |
| workflow_dispatch: # Allows manual triggering |
Analytics scripts could load on login and admin pages, and administrators without
unfiltered_htmlcould choose an arbitrary script origin through Custom Domain. This change limits tracking to front-end pages and requires an authorized save before a custom domain can serve scripts.Upgrade note: Existing custom domains fall back to the default CDN until an administrator with
unfiltered_htmlsaves them again.Validation:
pnpm buildandpnpm testspass on the rebased branch: 28 tests, comprising 22 Chromium browser tests and six PHP regression scripts. Workflow YAML, action pins, permissions, shell interpolation, andgit diff --checkalso pass.Update
Changes pushed on top of this PR:
unfiltered_htmlcheck on save stays and still stops multisite site administrators from changing the script origin. The upgrade note above no longer applies.https://Stats.Example.com/are saved asstats.example.com..github/workflows/release.ymlrestores its schedule and keeps the pinned actions, permissions and concurrency from this PR.main.Validation: all 30 browser and WordPress regression tests pass locally on WordPress 7.1.4 with PHP 8.5, plus the regression scripts on multisite. CI covers MySQL and PHP 7.4.