Make WordPress Core


Ignore:
Timestamp:
03/23/2026 07:39:45 PM (7 weeks ago)
Author:
jorbin
Message:

Abilities API: Revert Allow nested namespace ability names.

Abilities should follow the same pattern as all other namespaces and use a single namespace.

Reverts [61602].

See #64596.
Props jorgefilipecosta, justlevine, audrasjb.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/abilities-api/class-wp-ability.php

    r61602 r62094  
    5353    /**
    5454     * The name of the ability, with its namespace.
    55      * Examples: `my-plugin/my-ability`, `my-plugin/resource/find`.
     55     * Example: `my-plugin/my-ability`.
    5656     *
    5757     * @since 6.9.0
     
    341341    /**
    342342     * Retrieves the name of the ability, with its namespace.
    343      * Examples: `my-plugin/my-ability`, `my-plugin/resource/find`.
     343     * Example: `my-plugin/my-ability`.
    344344     *
    345345     * @since 6.9.0
Note: See TracChangeset for help on using the changeset viewer.