diff --git a/.github/workflows/lint-and-test.yml b/.github/workflows/lint-and-test.yml index b4acf5cf8..c9d790705 100644 --- a/.github/workflows/lint-and-test.yml +++ b/.github/workflows/lint-and-test.yml @@ -120,6 +120,14 @@ jobs: - name: Install Composer dependencies run: composer install + - name: Refresh apt metadata + # `shivammathur/setup-php` adds the ondrej/php PPA, which recently + # changed its repository `Label`. `apt-get update` (invoked by + # Playwright's `--with-deps`) aborts with exit code 100 on such + # changes unless `--allow-releaseinfo-change` is passed. Refresh the + # metadata here so the subsequent Playwright dependency install works. + run: sudo apt-get update --allow-releaseinfo-change + - name: Install Playwright browsers run: npx playwright install --with-deps chromium diff --git a/changelog.md b/changelog.md index 784520ba8..d2071a263 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,11 @@ # Stream Changelog +## 4.2.2 - July 6, 2026 + +### Security + +- Harden authorization for the live update preference: enforce the Stream view capability and always target the current user in the `stream_enable_live_update` AJAX handler so a user can only change their own live update preference ([#1918](https://github.com/xwp/stream/pull/1918)). + ## 4.2.1 - July 2, 2026 ### Bug Fixes diff --git a/classes/class-list-table.php b/classes/class-list-table.php index ecd6e80c2..0c2ed5770 100644 --- a/classes/class-list-table.php +++ b/classes/class-list-table.php @@ -1156,9 +1156,6 @@ public function screen_controls( $status, $args ) {
-
- -