Skip to content

Commit 366d184

Browse files
committed
Add a missing @since version to a function introduced in [32541].
See #32444. git-svn-id: https://develop.svn.wordpress.org/trunk@32548 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 8894798 commit 366d184

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

src/wp-includes/capabilities.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1474,10 +1474,13 @@ function user_can( $user, $capability ) {
14741474
}
14751475

14761476
/**
1477-
* Retrieve the global WP_Roles instance, instantiate if necessary
1477+
* Retrieve the global WP_Roles instance, instantiate if necessary.
14781478
*
1479-
* @global WP_Roles $wp_roles
1480-
* @return WP_Roles global instance
1479+
* @since 4.3.0
1480+
*
1481+
* @global WP_Roles $wp_roles WP_Roles global instance.
1482+
*
1483+
* @return WP_Roles WP_Roles global instance if not already instantiated.
14811484
*/
14821485
function wp_roles() {
14831486
global $wp_roles;

0 commit comments

Comments
 (0)