feat(updates): WordPress plugin/theme update feed #351

Closed
opened 2026-05-31 15:59:39 +00:00 by jmiller · 1 comment
Owner

Summary

Implement WordPress-compatible update feed endpoint at /{owner}/{repo}/updates/wordpress.json.

Metadata Fields Required

Field Description Example
slug Plugin/theme slug mokowaas
name Display name MokoWaaS
version Current version 2.29.04
author Author name Moko Consulting
author_profile Author URL https://mokoconsulting.tech
requires Min WP version 6.0
tested Max tested WP 6.7
requires_php Min PHP 8.1
download_link .zip URL Release asset URL
sections.description HTML description Rendered README
sections.changelog Changelog HTML From CHANGELOG.md
banners.high Banner image 1544x500
icons.1x Icon 128x128

WordPress Update API Format

WordPress checks update_plugins transient. The feed returns JSON:

License key passed via ?license_key= or custom header.

References


Claude Opus 4.6 (1M context) noreply@anthropic.com

## Summary Implement WordPress-compatible update feed endpoint at `/{owner}/{repo}/updates/wordpress.json`. ## Metadata Fields Required | Field | Description | Example | |---|---|---| | slug | Plugin/theme slug | `mokowaas` | | name | Display name | `MokoWaaS` | | version | Current version | `2.29.04` | | author | Author name | `Moko Consulting` | | author_profile | Author URL | `https://mokoconsulting.tech` | | requires | Min WP version | `6.0` | | tested | Max tested WP | `6.7` | | requires_php | Min PHP | `8.1` | | download_link | .zip URL | Release asset URL | | sections.description | HTML description | Rendered README | | sections.changelog | Changelog HTML | From CHANGELOG.md | | banners.high | Banner image | 1544x500 | | icons.1x | Icon | 128x128 | ## WordPress Update API Format WordPress checks `update_plugins` transient. The feed returns JSON: License key passed via `?license_key=` or custom header. ## References - https://developer.wordpress.org/plugins/wordpress-org/how-your-readme-txt-works/ - Plugin Update Checker library pattern --- *Claude Opus 4.6 (1M context) <noreply@anthropic.com>*
jmiller reopened this issue 2026-06-02 11:21:41 +00:00
jmiller added the pending: testing label 2026-06-02 13:58:24 +00:00
Author
Owner

Tested and verified in production on MokoWaaS. All three download gating modes (none/prerelease/all), feed visibility, XML metadata, download URLs, and access control confirmed working.

Tested and verified in production on MokoWaaS. All three download gating modes (none/prerelease/all), feed visibility, XML metadata, download URLs, and access control confirmed working.
Sign in to join this conversation.
No labels pending: testing
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoGitea#351