Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #64345, comment 5


Ignore:
Timestamp:
12/04/2025 08:59:55 PM (2 months ago)
Author:
justlevine
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #64345, comment 5

    initial v1  
    1111(My assumption is this sort of request comes from folks thinking about Abilities API from the perspective of REST. But the correct mental model should actually be Action/Filter hooks. I think we can agree that `add_filter( 'my_plugin/v2/my_hook' )` is bad dx)
    1212
    13 My recommendation is to close this as `wontfix`, and instead focus our efforts on self discoverable ability deprecation, which is what consumers **actually** need to be aware of. (As mentioned elsewhere, I believe a `deprecation_reason: string|callable():string|null` added to input/output fields a la WPGraphQL is the ideal approach).
     13My recommendation is to close this as `wontfix`, and instead focus our efforts on self discoverable ability deprecation, which is what consumers **actually** need to be aware of. (As mentioned elsewhere e.g. #64209, I believe a `deprecation_reason: string|callable():string|null` added to input/output fields a la WPGraphQL is the ideal approach).
    1414
    1515