[wp-trac] [WordPress Trac] #64098: Introduce Abilities API

WordPress Trac noreply at wordpress.org
Tue Oct 21 12:29:27 UTC 2025


#64098: Introduce Abilities API
--------------------------------------------------+-----------------------
 Reporter:  gziolo                                |       Owner:  gziolo
     Type:  feature request                       |      Status:  assigned
 Priority:  normal                                |   Milestone:  6.9
Component:  General                               |     Version:  trunk
 Severity:  normal                                |  Resolution:
 Keywords:  has-patch 2nd-opinion has-unit-tests  |     Focuses:
--------------------------------------------------+-----------------------

Comment (by gziolo):

 > > Can you go a bit deeper on what you mean by "self-authenticating"? I'm
 not finding anything in the github repo or in slack that describes the API
 in such a way.
 >
 > I think he means self-authorizing. That is, the Ability can do a
 permissions check prior to executing.

 Correct. Those two words always confuse me. Thank you @jason_the_adams,
 for providing further explanation. That's a really powerful contract in
 PHP: whatever input and permissions are requested, the consumer has to
 fulfill them.


 > If this is committed for beta 1, that means there are 21 days until RC1
 and 42 days until release. That's not a lot of time to get feedback,
 iterate, get more feedback, iterate again, ensure that documentation is
 ready, and overall ensure that come 7.0 we aren't feeling backed into the
 question of if only the code was structured differently or worse,
 questioning if this needs large changes in 6.9.1.

 I'm finished with addressing all the feedback raised in the review. Now,
 I'm mostly waiting for CI to finish and report that everything is green to
 proceed with the merge. Realistically, we have 3 weeks to gather all the
 feedback from extenders who haven't reported back so far on how the API
 integrates with their systems. As for all other feedback that was raised
 during the testing period through the Composer package released during WC
 US, everything was addressed.

 @karmatosed, what would be helpful at this point is opening an issue on
 GitHub or on WordPress Trac that serves as a single place for project
 maintainers to report their integration efforts, so we have a better
 overview of how the process is going.

 I know that [Woo has updated
 https://github.com/woocommerce/woocommerce/pull/60799] the Composer
 package to `v0.3.0` yesterday. The plan is to update the Composer package
 again as soon as possible with the same code as we are adding to WordPress
 `trunk`. So, we will have at least one big plugin that tests at scale in
 active development, the latest version of the API.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64098#comment:40>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list