[wp-trac] [WordPress Trac] #64596: Abilities API: Allow nested namespace ability names (2-4 segments)

WordPress Trac noreply at wordpress.org
Fri Feb 20 12:36:10 UTC 2026


#64596: Abilities API: Allow nested namespace ability names (2-4 segments)
--------------------------------------+-------------------------------
 Reporter:  jorgefilipecosta          |       Owner:  jorgefilipecosta
     Type:  enhancement               |      Status:  reopened
 Priority:  normal                    |   Milestone:  7.0
Component:  AI                        |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-------------------------------

Comment (by NoseGraze):

 I don't have much to add but just noting my support for allowing
 additional namespacing. My instinct when I started tinkering with this was
 to name like `plugin/products/edit` and was surprised to find out that
 wasn't allowed. Being able to separate out resource type and action feels
 a lot more intuitive. (and +1 to @justlevine's note about
 browsability/discoverability)

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


More information about the wp-trac mailing list