[wp-trac] [WordPress Trac] #64345: Ability names should support versioning

WordPress Trac noreply at wordpress.org
Wed Dec 3 20:10:07 UTC 2025


#64345: Ability names should support versioning
-----------------------------+-----------------------------
 Reporter:  jason_the_adams  |      Owner:  (none)
     Type:  enhancement      |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  AI               |    Version:  trunk
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 We've discussed that versioning an Ability should be done within the name
 of the Ability instead of a formal concept. That is, an Ability could be
 named `wp/v1/generate-featured-image` to indicate a version. So if a
 `wp/v2/generate-featured-image` were created, it would be a different
 Ability entirely, but conceptually tied to the first — most likely used if
 the input or output schema changes.

 I realized that the regex for validating the Ability name currently
 enforces the `namespace/ability-name` structure, throwing an error
 otherwise. We should continue to support this structure, but allow for an
 optional middle version.

 I'm going to call this an enhancement and not a bug since we this is only
 something we conceptually intended and not something we tell anyone to do
 at this point.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64345>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list