Skip to content

Commit 27a5d27

Browse files
gzioloCopilot
andauthored
Update src/wp-includes/abilities-api.php
Co-authored-by: Copilot <[email protected]>
1 parent 8a6ad54 commit 27a5d27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-includes/abilities-api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ function wp_get_ability( string $name ): ?WP_Ability {
401401
* @see WP_Abilities_Registry::get_all_registered()
402402
*
403403
* @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.
404+
* array if no abilities are registered.
405405
*/
406406
function wp_get_abilities(): array {
407407
$registry = WP_Abilities_Registry::get_instance();

0 commit comments

Comments
 (0)