wordpress.org as a distribution channel
- Connect a wordpress.org account (username and SVN password, stored encrypted) and import your published plugins with their releases, assets and figures
- Publish by drag & drop: the new tag is created as a copy of trunk or the previous tag plus what changed, trunk is updated and the Stable tag written — in one commit, large plugins in seconds
- “Make current release” and deleting a release work on wordpress.org too; the current release is protected from deletion
- Assets: icons, banners and screenshots mirrored from SVN, edited in a working copy and committed together; conflicts with changes made elsewhere are shown side by side
- Live Preview: edit the plugin’s blueprint.json with fields for landing page, theme and plugins or as JSON, test it in Playground, see whether wordpress.org has imported it and whether the preview is public; the required plugins of the current release are kept in the preview
- Figures from the directory: active installs, downloads and rating, refreshed daily; the download history is kept beyond the directory’s window
- Operations log: every commit Peak Publisher makes is recorded with its account and revision and links to its changeset on Trac
- The list and the editor follow changes made on wordpress.org through the directory, without touching SVN
- Publishing shows its steps and survives gateway timeouts; a second publish while one runs is refused and the running one followed instead
Self-hosted
- Daily download counts, served as
downloadedby the public API - The whitelist of the public API takes CIDR ranges, e.g. 203.0.113.0/24 or 2001:db8::/32
Both channels
- Release drafts are gone: every release is listed and downloadable by version; the current release — the one sites receive — is decided on every upload and changed with “Make current release” (see Upgrade Notice)
- Tested up to per release: shown in the list, the editor and the upload checklist, set with one click, carried to the highest known value at upload; the public API serves it
- Version numbers must follow the wordpress.org format: digits and dots, optionally -alpha, -beta or -RC with a number
- Assets follow wordpress.org’s rules on both channels: slots, file names, byte limits; screenshot captions come from the current release’s readme
- Requires Plugins: served by the public API in wordpress.org’s format; a wordpress.org publish is refused when the import would reject the header
- The plugin’s slug comes from the folder, ZIP or main file name; every release ZIP has the slug as its root (the setting “Add top-level folder if missing” is gone)
- readme.txt is always stored as UTF-8 without a BOM (the setting is gone)
- The readme parser and the icon generator are wordpress.org’s current code: readmes render as the directory renders them, generated icons match its
- “Add New Plugin” starts with the channel and, for wordpress.org, with where the plugin stands; tips explain headers, review, captions, Live Preview and version numbers
- Status column in the plugin list, the channel and slug of every plugin, figures aligned with the name, the list sorted by name
- New page header and footer, the logo in the admin menu, relative times, settings grouped into General, Uploads, wordpress.org and Self-hosted
- Deleting Peak Publisher from the Plugins screen removes the wordpress.org accounts and the encryption key; plugins and releases stay
- New filters:
pblsh_readme_oembed_providers,pblsh_readme_shortcodes,pblsh_enable_banner_svg
Security
- A readme’s content is never read as a path or URL (before, a readme that began with http(s):// was fetched, and one consisting of a single path line was read from disk)
- Readme sections are rendered under wordpress.org’s limits: no oEmbed discovery (before, every URL alone on a line was fetched by the server), embeds only from the provider list, no shortcodes of the site
- SVG assets must be free of active content — scripts, event handlers, javascript: links — on both channels: an upload is refused, and a file on wordpress.org that fails the rule is kept off this site, which serves its assets from its own origin
Fixes
- Installation count of self-hosted plugins
- Number of files and folders shown for an upload
- Release slug collisions between the two channels
- Plugin header lines crossing the 8 KB boundary are left alone
- curlclose(), deprecated in PHP 8.5, is no longer called; servers without curlmulti read wordpress.org one request at a time
- Release ZIPs keep empty folders
- Self-hosted releases can be built on WordPress before 6.4.4 again; since 1.3.1 the publish failed there
- An IPv6 client passes through a domain entry of the whitelist