[wp-trac] [WordPress Trac] #64209: Allow abilities to be deprecated

WordPress Trac noreply at wordpress.org
Sat Nov 8 16:50:37 UTC 2025


#64209: Allow abilities to be deprecated
--------------------------+---------------------
 Reporter:  jorbin        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  6.9
Component:  AI            |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+---------------------

Comment (by jason_the_adams):

 All of these ideas sound good to me! I especially agree with the
 introduction of `_deprecated_ability()` and it's automatic usage upon
 execution. Since we're introducing deprecation as a formal concept, I
 think it's sensible to call that automatically. Otherwise, it would be an
 odd behavior for an ability to mark itself as deprecated and not call
 that.

 Are we in fact aiming this for 6.9? If so, we'll need another PR for
 introducing basic filtering to `wp_get_abilities()`.

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


More information about the wp-trac mailing list