We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a6ad54 commit 27a5d27Copy full SHA for 27a5d27
src/wp-includes/abilities-api.php
@@ -401,7 +401,7 @@ function wp_get_ability( string $name ): ?WP_Ability {
401
* @see WP_Abilities_Registry::get_all_registered()
402
*
403
* @return WP_Ability[] An array of registered WP_Ability instances. Returns an empty
404
- * array if no abilities are registered or if the registry is unavailable.
+ * array if no abilities are registered.
405
*/
406
function wp_get_abilities(): array {
407
$registry = WP_Abilities_Registry::get_instance();
0 commit comments