Skip to content

Commit b2486b8

Browse files
Docs: Remove @return void from Abilities API DocBlocks.
Per the documentation standards, it should not be used outside of the default bundled themes. Follow-up to [55725], [56943], [61063], [61069]. See #64224. git-svn-id: https://develop.svn.wordpress.org/trunk@61599 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 903187e commit b2486b8

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/wp-includes/abilities.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
* Registers the core ability categories.
1414
*
1515
* @since 6.9.0
16-
*
17-
* @return void
1816
*/
1917
function wp_register_core_ability_categories(): void {
2018
wp_register_ability_category(
@@ -40,8 +38,6 @@ function wp_register_core_ability_categories(): void {
4038
* @since 6.9.0
4139
*
4240
* @global wpdb $wpdb WordPress database abstraction object.
43-
*
44-
* @return void
4541
*/
4642
function wp_register_core_abilities(): void {
4743
$category_site = 'site';

0 commit comments

Comments
 (0)