Point plugin metadata links at Unsupervised and Gitea #92

Merged
thatguygriff merged 1 commits from feature/view-details-gitea-releases into main 2026-07-23 14:26:51 +00:00
Owner

What

  • "By Unsupervised" now links to https://unsupervised.ca via a new Author URI header.
  • Plugin URI (the plugin-site link) now points at the Gitea project instead of unsupervised.ca.
  • "View details" on the Plugins screen no longer opens a broken "Plugin not found" iframe. A plugin_row_meta filter replaces core's WordPress.org thickbox link with a new-tab link to the matching Gitea release tag page (.../releases/tag/v{version}).

Why

Core points "View details" at the WordPress.org plugin-information API, which 404s for this off-directory plugin. Embedding Gitea in the thickbox iframe isn't an option either — Gitea sends X-Frame-Options: SAMEORIGIN — so the link opens in a new tab.

Tests

  • composer test — 423 passing
  • composer lint — PHPStan level 10 clean
  • composer cs — PHPCS clean

Added coverage for the new plugin_row_meta filter (registration, link replacement for this plugin, and no-op for other plugins).

🤖 Generated with Claude Code

## What - **"By Unsupervised"** now links to https://unsupervised.ca via a new `Author URI` header. - **Plugin URI** (the plugin-site link) now points at the Gitea project instead of unsupervised.ca. - **"View details"** on the Plugins screen no longer opens a broken "Plugin not found" iframe. A `plugin_row_meta` filter replaces core's WordPress.org thickbox link with a new-tab link to the matching Gitea release tag page (`.../releases/tag/v{version}`). ## Why Core points "View details" at the WordPress.org plugin-information API, which 404s for this off-directory plugin. Embedding Gitea in the thickbox iframe isn't an option either — Gitea sends `X-Frame-Options: SAMEORIGIN` — so the link opens in a new tab. ## Tests - `composer test` — 423 passing - `composer lint` — PHPStan level 10 clean - `composer cs` — PHPCS clean Added coverage for the new `plugin_row_meta` filter (registration, link replacement for this plugin, and no-op for other plugins). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
thatguygriff added 1 commit 2026-07-23 14:15:27 +00:00
Point plugin metadata links at Unsupervised and Gitea
CI / No Debug Code (pull_request) Successful in 4s
CI / Tests (PHP 8.2) (pull_request) Successful in 39s
CI / Tests (PHP 8.1) (pull_request) Successful in 1m21s
CI / Coding Standards (pull_request) Successful in 2m52s
CI / PHPStan (pull_request) Successful in 2m53s
CI / Tests (PHP 8.3) (pull_request) Successful in 2m36s
CI / Build Plugin Zip (pull_request) Skipped
83be388186
Make the "By Unsupervised" author link go to https://unsupervised.ca
(via a new Author URI header) and the plugin site / "View details" link
point at the Gitea project instead of WordPress.org.

Core's "View details" link opened a thickbox iframe against the
WordPress.org plugin-information API, which 404s ("Plugin not found")
for this off-directory plugin. A plugin_row_meta filter now replaces it
with a new-tab link to the matching Gitea release tag page; embedding
Gitea in the iframe is blocked by its X-Frame-Options anyway.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
thatguygriff merged commit a777f5d05a into main 2026-07-23 14:26:51 +00:00
thatguygriff deleted branch feature/view-details-gitea-releases 2026-07-23 14:26:51 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Unsupervised/unsupervised-scheduler#92