Skip to content

Commit 3fda725

Browse files
Docs: Document the $wpdb global in wp_register_core_abilities().
Follow-up to [61063], [61069]. Props noruzzaman, huzaifaalmesbah, shailu25, sabernhardt. See #64224. git-svn-id: https://develop.svn.wordpress.org/trunk@61595 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 45a4e0f commit 3fda725

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/wp-includes/abilities.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ function wp_register_core_ability_categories(): void {
3939
*
4040
* @since 6.9.0
4141
*
42+
* @global wpdb $wpdb WordPress database abstraction object.
43+
*
4244
* @return void
4345
*/
4446
function wp_register_core_abilities(): void {

0 commit comments

Comments
 (0)