Making WordPress.org

Changeset 14749


Ignore:
Timestamp:
03/24/2026 08:41:59 PM (4 days ago)
Author:
obenland
Message:

WP.org Abilities: Flatten ability names to match slug validation.

The Abilities API requires exactly 2 segments separated by a single forward slash.
Replace extra / separators with -- to preserve namespacing while staying within the limit.

Also log a warning instead of silently returning when no abilities are found,
and continue registering the server so the endpoint remains reachable for debugging.

See https://core.trac.wordpress.org/changeset/62094

Location:
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-abilities
Files:
13 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.